<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        
        
        
        <link rel="shortcut icon" href="../../img/favicon.ico">
        <title>小商店 - 回眸</title>
        <link href="../../css/bootstrap.min.css" rel="stylesheet">
        <link href="../../css/font-awesome.min.css" rel="stylesheet">
        <link href="../../css/base.css" rel="stylesheet">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">

        <script src="../../js/jquery-1.10.2.min.js" defer></script>
        <script src="../../js/bootstrap.min.js" defer></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
        <script>hljs.initHighlightingOnLoad();</script> 
    </head>

    <body>
        <div class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
            <div class="container">
                <a class="navbar-brand" href="../..">回眸</a>
                <!-- Expander button -->
                <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar-collapse">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <!-- Expanded navigation -->
                <div id="navbar-collapse" class="navbar-collapse collapse">
                        <!-- Main navigation -->
                        <ul class="nav navbar-nav">
                            <li class="navitem">
                                <a href="../.." class="nav-link">首页</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">用户 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li>
    <a href="../../user/user/" class="dropdown-item">Main</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown active">
                                <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">回眸 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li>
    <a href="../" class="dropdown-item">首页</a>
</li>
                                    
<li>
    <a href="../note/" class="dropdown-item">留言</a>
</li>
                                    
<li>
    <a href="../like/" class="dropdown-item">喜欢</a>
</li>
                                    
<li>
    <a href="../my/" class="dropdown-item">我的</a>
</li>
                                    
<li>
    <a href="../im/" class="dropdown-item">消息</a>
</li>
                                    
<li>
    <a href="../report/" class="dropdown-item">举报</a>
</li>
                                    
<li>
    <a href="../cover/" class="dropdown-item">封面</a>
</li>
                                    
<li>
    <a href="../group/" class="dropdown-item">群组</a>
</li>
                                    
<li>
    <a href="../boss/" class="dropdown-item">Boss</a>
</li>
                                    
<li>
    <a href="./" class="dropdown-item active">小商店</a>
</li>
                                    
<li>
    <a href="../address/" class="dropdown-item">地址</a>
</li>
                                    
<li>
    <a href="../live/" class="dropdown-item">对讲</a>
</li>
                                    
<li>
    <a href="../video/" class="dropdown-item">白噪音</a>
</li>
                                    
<li>
    <a href="../talk/" class="dropdown-item">直播</a>
</li>
                                    
<li>
    <a href="../screen/" class="dropdown-item">共享屏幕</a>
</li>
                                </ul>
                            </li>
                        </ul>

                    <ul class="nav navbar-nav ml-auto">
                        <li class="nav-item">
                            <a href="#" class="nav-link" data-toggle="modal" data-target="#mkdocs_search_modal">
                                <i class="fa fa-search"></i> Search
                            </a>
                        </li>
                            <li class="nav-item">
                                <a rel="prev" href="../boss/" class="nav-link">
                                    <i class="fa fa-arrow-left"></i> Previous
                                </a>
                            </li>
                            <li class="nav-item">
                                <a rel="next" href="../address/" class="nav-link">
                                    Next <i class="fa fa-arrow-right"></i>
                                </a>
                            </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="container">
            <div class="row">
                    <div class="col-md-3"><div class="navbar-light navbar-expand-md bs-sidebar hidden-print affix" role="complementary">
    <div class="navbar-header">
        <button type="button" class="navbar-toggler collapsed" data-toggle="collapse" data-target="#toc-collapse" title="Table of Contents">
            <span class="fa fa-angle-down"></span>
        </button>
    </div>

    
    <div id="toc-collapse" class="navbar-collapse collapse card bg-secondary">
        <ul class="nav flex-column">
            
            <li class="nav-item" data-level="1"><a href="#_1" class="nav-link">小店相关接口文档</a>
              <ul class="nav flex-column">
            <li class="nav-item" data-level="2"><a href="#_2" class="nav-link">修订记录</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_3" class="nav-link">背景</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_4" class="nav-link">产品说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_5" class="nav-link">关键流程说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_6" class="nav-link">接口说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_7" class="nav-link">通用接口</a>
              <ul class="nav flex-column">
              </ul>
            </li>
              </ul>
            </li>
        </ul>
    </div>
</div></div>
                    <div class="col-md-9" role="main">

<h1 id="_1">小店相关接口文档</h1>
<div class="toc">
<ul>
<li><a href="#_1">小店相关接口文档</a><ul>
<li><a href="#_2">修订记录</a></li>
<li><a href="#_3">背景</a></li>
<li><a href="#_4">产品说明</a></li>
<li><a href="#_5">关键流程说明</a></li>
<li><a href="#_6">接口说明</a></li>
<li><a href="#_7">通用接口</a><ul>
<li><a href="#_8">店主端</a><ul>
<li><a href="#_9">特殊说明</a></li>
<li><a href="#10">1.0 小店列表（无需权限校验）</a><ul>
<li><a href="#_10">接口说明</a></li>
<li><a href="#_11">请求说明</a></li>
<li><a href="#_12">输入参数</a></li>
<li><a href="#_13">错误说明</a></li>
<li><a href="#_14">返回实例</a></li>
</ul>
</li>
<li><a href="#11">1.1 商品</a></li>
<li><a href="#111">1.1.1 商品管理列表接口</a><ul>
<li><a href="#_15">接口说明</a></li>
<li><a href="#_16">请求说明</a></li>
<li><a href="#header">Header 头</a></li>
<li><a href="#_17">输入参数</a></li>
<li><a href="#_18">错误说明</a></li>
<li><a href="#_19">返回实例</a></li>
</ul>
</li>
<li><a href="#112">1.1.2 添加商品</a><ul>
<li><a href="#_20">接口说明</a></li>
<li><a href="#_21">请求说明</a></li>
<li><a href="#header_1">Header 头</a></li>
<li><a href="#post-json">输入参数(post json)</a></li>
<li><a href="#_22">错误说明</a></li>
<li><a href="#_23">返回实例</a></li>
</ul>
</li>
<li><a href="#113">1.1.3 修改商品信息</a><ul>
<li><a href="#_24">接口说明</a></li>
<li><a href="#_25">请求说明</a></li>
<li><a href="#header_2">Header 头</a></li>
<li><a href="#post-json_1">输入参数(post json)</a></li>
<li><a href="#_26">错误说明</a></li>
<li><a href="#_27">返回实例</a></li>
</ul>
</li>
<li><a href="#114">1.1.4 获取类别信息</a><ul>
<li><a href="#_28">接口说明</a></li>
<li><a href="#_29">请求说明</a></li>
<li><a href="#_30">输入参数</a></li>
<li><a href="#_31">错误说明</a></li>
<li><a href="#_32">返回实例</a></li>
</ul>
</li>
<li><a href="#115">1.1.5 根据类别获取规格信息</a><ul>
<li><a href="#_33">接口说明</a></li>
<li><a href="#_34">请求说明</a></li>
<li><a href="#_35">输入参数</a></li>
<li><a href="#_36">错误说明</a></li>
<li><a href="#_37">返回实例</a></li>
</ul>
</li>
<li><a href="#116">1.1.6 商品详情</a><ul>
<li><a href="#_38">接口说明</a></li>
<li><a href="#_39">请求说明</a></li>
<li><a href="#header_3">Header 头</a></li>
<li><a href="#_40">输入参数</a></li>
<li><a href="#_41">错误说明</a></li>
<li><a href="#_42">返回实例</a></li>
</ul>
</li>
<li><a href="#117">1.1.7 删除商品</a><ul>
<li><a href="#_43">接口说明</a></li>
<li><a href="#_44">请求说明</a></li>
<li><a href="#header_4">Header 头</a></li>
<li><a href="#_45">输入参数</a></li>
<li><a href="#_46">错误说明</a></li>
<li><a href="#_47">返回实例</a></li>
</ul>
</li>
<li><a href="#118">1.1.8 商品下架</a><ul>
<li><a href="#_48">接口说明</a></li>
<li><a href="#_49">请求说明</a></li>
<li><a href="#header_5">Header 头</a></li>
<li><a href="#_50">输入参数</a></li>
<li><a href="#_51">错误说明</a></li>
<li><a href="#_52">返回实例</a></li>
</ul>
</li>
<li><a href="#12">1.2 订单</a></li>
<li><a href="#121">1.2.1 订单列表</a><ul>
<li><a href="#_53">接口说明</a></li>
<li><a href="#_54">请求说明</a></li>
<li><a href="#header_6">Header 头</a></li>
<li><a href="#_55">输入参数</a></li>
<li><a href="#_56">错误说明</a></li>
<li><a href="#_57">返回实例</a></li>
</ul>
</li>
<li><a href="#122">1.2.2 订单列表</a><ul>
<li><a href="#_58">接口说明</a></li>
<li><a href="#_59">请求说明</a></li>
<li><a href="#header_7">Header 头</a></li>
<li><a href="#_60">输入参数</a></li>
<li><a href="#_61">错误说明</a></li>
<li><a href="#_62">返回实例</a></li>
</ul>
</li>
<li><a href="#123">1.2.3 订单发货</a><ul>
<li><a href="#_63">接口说明</a></li>
<li><a href="#_64">请求说明</a></li>
<li><a href="#header_8">Header 头</a></li>
<li><a href="#_65">输入参数</a></li>
<li><a href="#_66">错误说明</a></li>
<li><a href="#_67">返回实例</a></li>
</ul>
</li>
<li><a href="#124">1.2.4 物流公司查询</a><ul>
<li><a href="#_68">接口说明</a></li>
<li><a href="#_69">请求说明</a></li>
<li><a href="#header_9">Header 头</a></li>
<li><a href="#_70">输入参数</a></li>
<li><a href="#_71">错误说明</a></li>
<li><a href="#_72">返回实例</a></li>
</ul>
</li>
<li><a href="#125">1.2.5 订单详情</a><ul>
<li><a href="#_73">接口说明</a></li>
<li><a href="#_74">请求说明</a></li>
<li><a href="#header_10">Header 头</a></li>
<li><a href="#_75">输入参数</a></li>
<li><a href="#_76">错误说明</a></li>
<li><a href="#_77">返回实例</a></li>
</ul>
</li>
<li><a href="#126">1.2.6 物流详情</a><ul>
<li><a href="#_78">接口说明</a></li>
<li><a href="#_79">请求说明</a></li>
<li><a href="#header_11">Header 头</a></li>
<li><a href="#_80">输入参数</a></li>
<li><a href="#_81">错误说明</a></li>
<li><a href="#_82">返回实例</a></li>
</ul>
</li>
<li><a href="#13">1.3 退款地址</a></li>
<li><a href="#131">1.3.1 用户收货地址列表</a><ul>
<li><a href="#_83">接口说明</a></li>
<li><a href="#_84">请求说明</a></li>
<li><a href="#header_12">Header 头</a></li>
<li><a href="#_85">输入参数</a></li>
<li><a href="#_86">错误说明</a></li>
<li><a href="#_87">返回实例</a></li>
</ul>
</li>
<li><a href="#132">1.3.2 收货地址详情</a><ul>
<li><a href="#_88">接口说明</a></li>
<li><a href="#_89">请求说明</a></li>
<li><a href="#_90">输入参数</a></li>
<li><a href="#_91">错误说明</a></li>
<li><a href="#_92">返回实例</a></li>
</ul>
</li>
<li><a href="#133">1.3.3 添加收货地址</a><ul>
<li><a href="#_93">接口说明</a></li>
<li><a href="#header_13">Header 头</a></li>
<li><a href="#_94">请求说明</a></li>
<li><a href="#_95">输入参数</a></li>
<li><a href="#_96">错误说明</a></li>
<li><a href="#_97">返回实例</a></li>
</ul>
</li>
<li><a href="#134">1.3.4 删除收货地址</a><ul>
<li><a href="#_98">接口说明</a></li>
<li><a href="#header_14">Header 头</a></li>
<li><a href="#_99">请求说明</a></li>
<li><a href="#_100">输入参数</a></li>
<li><a href="#_101">错误说明</a></li>
<li><a href="#_102">返回实例</a></li>
</ul>
</li>
<li><a href="#135">1.3.5 设置默认收货地址</a><ul>
<li><a href="#_103">接口说明</a></li>
<li><a href="#header_15">Header 头</a></li>
<li><a href="#_104">请求说明</a></li>
<li><a href="#_105">输入参数</a></li>
<li><a href="#_106">错误说明</a></li>
<li><a href="#_107">返回实例</a></li>
</ul>
</li>
<li><a href="#14">1.4 售后</a></li>
<li><a href="#141">1.4.1 售后列表信息</a><ul>
<li><a href="#_108">接口说明</a></li>
<li><a href="#header_16">Header 头</a></li>
<li><a href="#_109">请求说明</a></li>
<li><a href="#_110">输入参数</a></li>
<li><a href="#_111">错误说明</a></li>
<li><a href="#_112">返回实例</a></li>
</ul>
</li>
<li><a href="#142">1.4.2 售后受理</a><ul>
<li><a href="#_113">接口说明</a></li>
<li><a href="#header_17">Header 头</a></li>
<li><a href="#_114">请求说明</a></li>
<li><a href="#_115">输入参数</a></li>
<li><a href="#_116">错误说明</a></li>
<li><a href="#_117">返回实例</a></li>
</ul>
</li>
<li><a href="#143">1.4.3 售后驳回</a><ul>
<li><a href="#_118">接口说明</a></li>
<li><a href="#header_18">Header 头</a></li>
<li><a href="#_119">请求说明</a></li>
<li><a href="#_120">输入参数</a></li>
<li><a href="#_121">错误说明</a></li>
<li><a href="#_122">返回实例</a></li>
</ul>
</li>
<li><a href="#144">1.4.4 售后详情</a><ul>
<li><a href="#_123">接口说明</a></li>
<li><a href="#header_19">Header 头</a></li>
<li><a href="#_124">请求说明</a></li>
<li><a href="#_125">输入参数</a></li>
<li><a href="#_126">错误说明</a></li>
<li><a href="#_127">返回实例</a></li>
</ul>
</li>
<li><a href="#145">1.4.5 售后退款</a><ul>
<li><a href="#_128">接口说明</a></li>
<li><a href="#header_20">Header 头</a></li>
<li><a href="#_129">请求说明</a></li>
<li><a href="#_130">输入参数</a></li>
<li><a href="#_131">错误说明</a></li>
<li><a href="#_132">返回实例</a></li>
</ul>
</li>
<li><a href="#_133">交易</a></li>
<li><a href="#151">1.5.1 账户</a><ul>
<li><a href="#_134">接口说明</a></li>
<li><a href="#header_21">Header 头</a></li>
<li><a href="#_135">请求说明</a></li>
<li><a href="#_136">输入参数</a></li>
<li><a href="#_137">错误说明</a></li>
<li><a href="#_138">返回实例</a></li>
</ul>
</li>
<li><a href="#152">1.5.2 交易流水</a><ul>
<li><a href="#_139">接口说明</a></li>
<li><a href="#header_22">Header 头</a></li>
<li><a href="#_140">请求说明</a></li>
<li><a href="#_141">输入参数</a></li>
<li><a href="#_142">错误说明</a></li>
<li><a href="#_143">返回实例</a></li>
</ul>
</li>
<li><a href="#153">1.5.3 提现接口</a><ul>
<li><a href="#_144">接口说明</a></li>
<li><a href="#header_23">Header 头</a></li>
<li><a href="#_145">请求说明</a></li>
<li><a href="#_146">输入参数</a></li>
<li><a href="#_147">错误说明</a></li>
<li><a href="#_148">返回实例</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#_149">用户端</a><ul>
<li><a href="#11_1">1.1 商品</a></li>
<li><a href="#111_1">1.1.1 小店商品列表接口</a><ul>
<li><a href="#_150">接口说明</a></li>
<li><a href="#_151">请求说明</a></li>
<li><a href="#_152">输入参数</a></li>
<li><a href="#_153">错误说明</a></li>
<li><a href="#_154">返回实例</a></li>
</ul>
</li>
<li><a href="#112_1">1.1.2 商品详情</a><ul>
<li><a href="#_155">接口说明</a></li>
<li><a href="#_156">请求说明</a></li>
<li><a href="#_157">输入参数</a></li>
<li><a href="#_158">错误说明</a></li>
<li><a href="#_159">返回实例</a></li>
</ul>
</li>
<li><a href="#113_1">1.1.3 产品简介信息</a><ul>
<li><a href="#_160">接口说明</a></li>
<li><a href="#_161">请求说明</a></li>
<li><a href="#_162">输入参数</a></li>
<li><a href="#_163">错误说明</a></li>
<li><a href="#_164">返回实例</a></li>
</ul>
</li>
<li><a href="#12_1">1.2 订单</a></li>
<li><a href="#121_1">1.2.1 订单信息预览</a><ul>
<li><a href="#_165">接口说明</a></li>
<li><a href="#_166">请求说明</a></li>
<li><a href="#_167">输入参数</a></li>
<li><a href="#_168">错误说明</a></li>
<li><a href="#_169">返回实例</a></li>
</ul>
</li>
<li><a href="#122_1">1.2.2 下单接口</a><ul>
<li><a href="#_170">接口说明</a></li>
<li><a href="#_171">请求说明</a></li>
<li><a href="#_172">输入参数</a></li>
<li><a href="#_173">错误说明</a></li>
<li><a href="#_174">返回实例</a></li>
</ul>
</li>
<li><a href="#123_1">1.2.3 取消订单</a><ul>
<li><a href="#_175">接口说明</a></li>
<li><a href="#_176">请求说明</a></li>
<li><a href="#_177">输入参数</a></li>
<li><a href="#_178">错误说明</a></li>
<li><a href="#_179">返回实例</a></li>
</ul>
</li>
<li><a href="#124_1">1.2.4 支付订单</a><ul>
<li><a href="#_180">接口说明</a></li>
<li><a href="#_181">请求说明</a></li>
<li><a href="#_182">输入参数</a></li>
<li><a href="#_183">错误说明</a></li>
<li><a href="#_184">返回实例</a></li>
</ul>
</li>
<li><a href="#125_1">1.2.5 订单列表</a><ul>
<li><a href="#_185">接口说明</a></li>
<li><a href="#_186">请求说明</a></li>
<li><a href="#_187">输入参数</a></li>
<li><a href="#_188">错误说明</a></li>
<li><a href="#_189">返回实例</a></li>
</ul>
</li>
<li><a href="#126_1">1.2.6 订单详情</a><ul>
<li><a href="#_190">接口说明</a></li>
<li><a href="#_191">请求说明</a></li>
<li><a href="#_192">输入参数</a></li>
<li><a href="#_193">错误说明</a></li>
<li><a href="#_194">返回实例</a></li>
</ul>
</li>
<li><a href="#127">1.2.7 取消订单</a><ul>
<li><a href="#_195">接口说明</a></li>
<li><a href="#_196">请求说明</a></li>
<li><a href="#_197">输入参数</a></li>
<li><a href="#_198">错误说明</a></li>
<li><a href="#_199">返回实例</a></li>
</ul>
</li>
<li><a href="#128">1.2.8  重新支付订单</a><ul>
<li><a href="#_200">接口说明</a></li>
<li><a href="#_201">请求说明</a></li>
<li><a href="#_202">输入参数</a></li>
<li><a href="#_203">错误说明</a></li>
<li><a href="#_204">返回实例</a></li>
</ul>
</li>
<li><a href="#129">1.2.9  确认收货接口</a><ul>
<li><a href="#_205">接口说明</a></li>
<li><a href="#_206">请求说明</a></li>
<li><a href="#_207">输入参数</a></li>
<li><a href="#_208">错误说明</a></li>
<li><a href="#_209">返回实例</a></li>
</ul>
</li>
<li><a href="#1210">1.2.10  删除订单接口</a><ul>
<li><a href="#_210">接口说明</a></li>
<li><a href="#_211">请求说明</a></li>
<li><a href="#_212">输入参数</a></li>
<li><a href="#_213">错误说明</a></li>
<li><a href="#_214">返回实例</a></li>
</ul>
</li>
<li><a href="#1211">1.2.11  评价接口</a><ul>
<li><a href="#_215">接口说明</a></li>
<li><a href="#_216">请求说明</a></li>
<li><a href="#post-json_2">输入参数(post json)</a></li>
<li><a href="#_217">错误说明</a></li>
<li><a href="#_218">返回实例</a></li>
</ul>
</li>
<li><a href="#1212">1.2.12  待评价订单商品信息</a><ul>
<li><a href="#_219">接口说明</a></li>
<li><a href="#_220">请求说明</a></li>
<li><a href="#_221">输入参数</a></li>
<li><a href="#_222">错误说明</a></li>
<li><a href="#_223">返回实例</a></li>
</ul>
</li>
<li><a href="#1213">1.2.13 催单接口</a><ul>
<li><a href="#_224">接口说明</a></li>
<li><a href="#_225">请求说明</a></li>
<li><a href="#_226">输入参数</a></li>
<li><a href="#_227">错误说明</a></li>
<li><a href="#_228">返回实例</a></li>
</ul>
</li>
<li><a href="#1214">1.2.14 重新购买</a><ul>
<li><a href="#_229">接口说明</a></li>
<li><a href="#_230">请求说明</a></li>
<li><a href="#_231">输入参数</a></li>
<li><a href="#_232">错误说明</a></li>
<li><a href="#_233">返回实例</a></li>
</ul>
</li>
<li><a href="#1215">1.2.15 订单重新支付</a><ul>
<li><a href="#_234">接口说明</a></li>
<li><a href="#_235">请求说明</a></li>
<li><a href="#_236">输入参数</a></li>
<li><a href="#_237">错误说明</a></li>
<li><a href="#_238">返回实例</a></li>
</ul>
</li>
<li><a href="#1216">1.2.16 物流详情</a><ul>
<li><a href="#_239">接口说明</a></li>
<li><a href="#_240">请求说明</a></li>
<li><a href="#_241">输入参数</a></li>
<li><a href="#_242">错误说明</a></li>
<li><a href="#_243">返回实例</a></li>
</ul>
</li>
<li><a href="#1217">1.2.17 订单计数</a><ul>
<li><a href="#_244">接口说明</a></li>
<li><a href="#_245">请求说明</a></li>
<li><a href="#_246">输入参数</a></li>
<li><a href="#_247">错误说明</a></li>
<li><a href="#_248">返回实例</a></li>
</ul>
</li>
<li><a href="#13_1">1.3 售后</a></li>
<li><a href="#131_1">1.3.1 售后列表</a><ul>
<li><a href="#_249">接口说明</a></li>
<li><a href="#_250">请求说明</a></li>
<li><a href="#_251">输入参数</a></li>
<li><a href="#_252">错误说明</a></li>
<li><a href="#_253">返回实例</a></li>
</ul>
</li>
<li><a href="#132_1">1.3.2 申请售后</a><ul>
<li><a href="#_254">接口说明</a></li>
<li><a href="#_255">请求说明</a></li>
<li><a href="#_256">输入参数</a></li>
<li><a href="#_257">错误说明</a></li>
<li><a href="#_258">返回实例</a></li>
</ul>
</li>
<li><a href="#133_1">1.3.3 取消售后</a><ul>
<li><a href="#_259">接口说明</a></li>
<li><a href="#_260">请求说明</a></li>
<li><a href="#_261">输入参数</a></li>
<li><a href="#_262">错误说明</a></li>
<li><a href="#_263">返回实例</a></li>
</ul>
</li>
<li><a href="#134_1">1.3.4 售后发货</a><ul>
<li><a href="#_264">接口说明</a></li>
<li><a href="#_265">请求说明</a></li>
<li><a href="#_266">输入参数</a></li>
<li><a href="#_267">错误说明</a></li>
<li><a href="#_268">返回实例</a></li>
</ul>
</li>
<li><a href="#135_1">1.3.5 售后详情</a><ul>
<li><a href="#_269">接口说明</a></li>
<li><a href="#_270">请求说明</a></li>
<li><a href="#_271">输入参数</a></li>
<li><a href="#_272">错误说明</a></li>
<li><a href="#_273">返回实例</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="_2">修订记录</h2>
<hr />
<table>
<thead>
<tr>
<th>日期</th>
<th>作者</th>
<th>修订类型</th>
<th>修订内容</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>2020年07月03日</td>
<td>冷立纲</td>
<td>A</td>
<td>新增设计方案</td>
<td>1.0</td>
</tr>
</tbody>
</table>
<blockquote>
<p>【修订类型：A-新增  M-修改 D-删除】</p>
</blockquote>
<h2 id="_3">背景</h2>
<h2 id="_4">产品说明</h2>
<h2 id="_5">关键流程说明</h2>
<h2 id="_6">接口说明</h2>
<h2 id="_7">通用接口</h2>
<h3 id="_8">店主端</h3>
<hr />
<h4 id="_9">特殊说明</h4>
<ol>
<li>店主端接口均有店主权限校验，需统一设置storeId header 来校验店主对商店的操作权限</li>
<li>boss 产品管理接口统一前缀  /mall/admin</li>
</ol>
<h4 id="10">1.0 小店列表（无需权限校验）</h4>
<h5 id="_10">接口说明</h5>
<p>用户/店员 小店列表 ，需根据不同的角色(店员/店主)展示不同的按钮</p>
<h5 id="_11">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/store/list</td>
</tr>
</tbody>
</table>
<h5 id="_12">输入参数</h5>
<p>无</p>
<h5 id="_13">错误说明</h5>
<h5 id="_14">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: [
        {
            &quot;id&quot;: 1, //商店ID
            &quot;inviteCode&quot;: &quot;http://smileback.xiaogang.org.cn/invite/116.470293,39.996171_84/11632&quot;,  //邀请码
            &quot;userRole&quot;: 1, // 用户角色
            &quot;name&quot;: &quot;大头娃&quot;, // 商店名称
            &quot;auditStatus&quot;:0,  // 0
            &quot;images&quot;: [ //商店图片
                &quot;FkbNac6aQOaEVZU6Fam45uand5fv.png&quot;
            ],
            &quot;roomId&quot;: null //商店ID
        }
    ]
}
</code></pre>

<h4 id="11">1.1 商品</h4>
<h4 id="111">1.1.1 商品管理列表接口</h4>
<h5 id="_15">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_16">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/list</td>
</tr>
</tbody>
</table>
<h5 id="header">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_17">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">showType</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">显示类型</td>
<td align="left">1在售  0 待上架  -1 已下架</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_18">错误说明</h5>
<h5 id="_19">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: 1,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 10000000,
                &quot;storeId&quot;: 1,
                &quot;goodsSn&quot;: &quot;&quot;,
                &quot;detail&quot;: null, 图片
                &quot;name&quot;: &quot;测试&quot;,
                &quot;retailPrice&quot;: 3.00,  //价格 
                &quot;isOnSale&quot;: true, //在售状态
                &quot;number&quot;: null, //库存
                &quot;auditStatus&quot;: 0, //审核状态
                &quot;saleCount&quot;: null //销售量
            }
        ],
        &quot;end&quot;: true,
        &quot;summary&quot;: {  //计数信息，只有第一页返回
            &quot;onsaleTotal&quot;: 0,
            &quot;tosaleTotal&quot;: 1,
            &quot;downsaleTotal&quot;: 0
        },
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 1
    }
}

</code></pre>

<h4 id="112">1.1.2 添加商品</h4>
<h5 id="_20">接口说明</h5>
<p>添加商品</p>
<h5 id="_21">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/add</td>
</tr>
</tbody>
</table>
<h5 id="header_1">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="post-json">输入参数(post json)</h5>
<pre><code class="json">{
    &quot;goods&quot;:{
        &quot;name&quot;:&quot;测试&quot;,
        &quot;categoryId&quot;:3,
        &quot;retailPrice&quot;:100.00
    },
    &quot;specifications&quot;:[{
        &quot;specificationId&quot;:1,
        &quot;specificationName&quot;:&quot;规格&quot;,
        &quot;value&quot;:&quot;标准&quot;
    }],
    &quot;products&quot;:[{
        &quot;price&quot;:3.0,
        &quot;number&quot;:50,
        &quot;specifications&quot;:[{
            &quot;id&quot;:1,
            &quot;value&quot;:&quot;33&quot;
        }]
    }]

}

</code></pre>

<p><em><strong>goods参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">name</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">商品名称</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">categoryId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品类别</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">freightPrice</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">邮费</td>
<td align="left">0 包邮 否则填具体运费</td>
</tr>
<tr>
<td align="left">detail</td>
<td align="center">是</td>
<td align="left">image 数组</td>
<td align="left">图片</td>
<td align="left">至少一张，格式参见 image 说明</td>
</tr>
<tr>
<td align="left">videos</td>
<td align="center">否</td>
<td align="left">Video 数组</td>
<td align="left">视频</td>
<td align="left">格式参见 Video 说明</td>
</tr>
</tbody>
</table>
<p><em><strong>image参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">图片地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">size</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">图片尺寸</td>
<td align="left">例如 1024*768</td>
</tr>
</tbody>
</table>
<p><em><strong>Video参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">视频地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">cover</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">封面地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">size</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">视频尺寸</td>
<td align="left">例如 1024*768</td>
</tr>
</tbody>
</table>
<p><em><strong>specifications参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">specificationId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">规格ID</td>
<td align="left">透过类别规格获取</td>
</tr>
<tr>
<td align="left">specificationName</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格名称</td>
<td align="left">透过类别规格获取</td>
</tr>
<tr>
<td align="left">value</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格值</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<p><em><strong>products参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">specifications</td>
<td align="center">是</td>
<td align="left">Specification 数组</td>
<td align="left"></td>
<td align="left">参见Specification  格式说明</td>
</tr>
<tr>
<td align="left">price</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">价格</td>
<td align="left">价格</td>
</tr>
<tr>
<td align="left">number</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">库存数量</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">url</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">商品url</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<p><em><strong>Specification参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">规格ID</td>
<td align="left">根据规格类别取得</td>
</tr>
<tr>
<td align="left">value</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格值</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_22">错误说明</h5>
<h5 id="_23">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="113">1.1.3 修改商品信息</h4>
<h5 id="_24">接口说明</h5>
<p>添加商品</p>
<h5 id="_25">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/update</td>
</tr>
</tbody>
</table>
<h5 id="header_2">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="post-json_1">输入参数(post json)</h5>
<pre><code class="json">{
    &quot;goods&quot;:{
        &quot;name&quot;:&quot;测试&quot;,
        &quot;categoryId&quot;:3,
        &quot;retailPrice&quot;:100.00
    },
    &quot;specifications&quot;:[{
        &quot;specificationId&quot;:1,
        &quot;specificationName&quot;:&quot;规格&quot;,
        &quot;value&quot;:&quot;标准&quot;
    }],
    &quot;products&quot;:[{
        &quot;price&quot;:3.0,
        &quot;number&quot;:50,
        &quot;specifications&quot;:[{
            &quot;id&quot;:1,
            &quot;value&quot;:&quot;33&quot;
        }]
    }]

}

</code></pre>

<p><em><strong>goods参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">name</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">商品名称</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">categoryId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品类别</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">freightPrice</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">邮费</td>
<td align="left">0 包邮 否则填具体运费</td>
</tr>
<tr>
<td align="left">detail</td>
<td align="center">是</td>
<td align="left">image 数组</td>
<td align="left">图片</td>
<td align="left">至少一张，格式参见 image 说明</td>
</tr>
<tr>
<td align="left">videos</td>
<td align="center">否</td>
<td align="left">Video 数组</td>
<td align="left">视频</td>
<td align="left">格式参见 Video 说明</td>
</tr>
</tbody>
</table>
<p><em><strong>image参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">图片地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">size</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">图片尺寸</td>
<td align="left">例如 1024*768</td>
</tr>
</tbody>
</table>
<p><em><strong>Video参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">视频地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">cover</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">封面地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">size</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">视频尺寸</td>
<td align="left">例如 1024*768</td>
</tr>
</tbody>
</table>
<p><em><strong>specifications参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">规格ID</td>
<td align="left">id 不为空则是更新</td>
</tr>
<tr>
<td align="left">specificationId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">规格ID</td>
<td align="left">透过类别规格获取</td>
</tr>
<tr>
<td align="left">specificationName</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格名称</td>
<td align="left">透过类别规格获取</td>
</tr>
<tr>
<td align="left">value</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格值</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<p><em><strong>products参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">规格商品ID</td>
<td align="left">id 不为空则是更新</td>
</tr>
<tr>
<td align="left">specifications</td>
<td align="center">是</td>
<td align="left">Specification 数组</td>
<td align="left"></td>
<td align="left">参见Specification  格式说明</td>
</tr>
<tr>
<td align="left">price</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">价格</td>
<td align="left">价格</td>
</tr>
<tr>
<td align="left">number</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">库存数量</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">url</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">商品url</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<p><em><strong>Specification参数说明</strong></em></p>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">规格ID</td>
<td align="left">根据规格类别取得</td>
</tr>
<tr>
<td align="left">value</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">规格值</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_26">错误说明</h5>
<h5 id="_27">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="114">1.1.4 获取类别信息</h4>
<h5 id="_28">接口说明</h5>
<p>类别信息获取</p>
<h5 id="_29">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/catalog/all</td>
</tr>
</tbody>
</table>
<h5 id="_30">输入参数</h5>
<p>无</p>
<h5 id="_31">错误说明</h5>
<h5 id="_32">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;categoryList&quot;: [
            {
                &quot;id&quot;: 1,
                &quot;name&quot;: &quot;水果&quot;,
                &quot;keywords&quot;: &quot;水果&quot;,
                &quot;desc&quot;: &quot;&quot;,
                &quot;pid&quot;: 0,
                &quot;iconUrl&quot;: &quot;&quot;,
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;level&quot;: &quot;L1&quot;,
                &quot;sortOrder&quot;: 50,
                &quot;addTime&quot;: null,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false
            },
            {
                &quot;id&quot;: 2,
                &quot;name&quot;: &quot;蔬菜&quot;,
                &quot;keywords&quot;: &quot;蔬菜&quot;,
                &quot;desc&quot;: &quot;&quot;,
                &quot;pid&quot;: 0,
                &quot;iconUrl&quot;: &quot;&quot;,
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;level&quot;: &quot;L1&quot;,
                &quot;sortOrder&quot;: 50,
                &quot;addTime&quot;: null,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false
            }
        ],
        &quot;currentCategory&quot;: {
            &quot;id&quot;: 1,
            &quot;name&quot;: &quot;水果&quot;,
            &quot;keywords&quot;: &quot;水果&quot;,
            &quot;desc&quot;: &quot;&quot;,
            &quot;pid&quot;: 0,
            &quot;iconUrl&quot;: &quot;&quot;,
            &quot;picUrl&quot;: &quot;&quot;,
            &quot;level&quot;: &quot;L1&quot;,
            &quot;sortOrder&quot;: 50,
            &quot;addTime&quot;: null,
            &quot;updateTime&quot;: null,
            &quot;deleted&quot;: false
        },
        &quot;currentSubCategory&quot;: [
            {
                &quot;id&quot;: 3,
                &quot;name&quot;: &quot;苹果&quot;,
                &quot;keywords&quot;: &quot;苹果&quot;,
                &quot;desc&quot;: &quot;&quot;,
                &quot;pid&quot;: 1,
                &quot;iconUrl&quot;: &quot;&quot;,
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;level&quot;: &quot;L2&quot;,
                &quot;sortOrder&quot;: 50,
                &quot;addTime&quot;: null,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false
            }
        ],
        &quot;allList&quot;: {
            &quot;1&quot;: [
                {
                    &quot;id&quot;: 3,
                    &quot;name&quot;: &quot;苹果&quot;,
                    &quot;keywords&quot;: &quot;苹果&quot;,
                    &quot;desc&quot;: &quot;&quot;,
                    &quot;pid&quot;: 1,
                    &quot;iconUrl&quot;: &quot;&quot;,
                    &quot;picUrl&quot;: &quot;&quot;,
                    &quot;level&quot;: &quot;L2&quot;,
                    &quot;sortOrder&quot;: 50,
                    &quot;addTime&quot;: null,
                    &quot;updateTime&quot;: null,
                    &quot;deleted&quot;: false
                }
            ],
            &quot;2&quot;: []
        }
    }
}

</code></pre>

<h4 id="115">1.1.5 根据类别获取规格信息</h4>
<h5 id="_33">接口说明</h5>
<p>规格信息获取</p>
<h5 id="_34">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/catalog/specification</td>
</tr>
</tbody>
</table>
<h5 id="_35">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">类别ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_36">错误说明</h5>
<h5 id="_37">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: [
        {
            &quot;id&quot;: 1,
            &quot;catId&quot;: 0,
            &quot;specificationName&quot;: &quot;规格&quot;,
            &quot;addTime&quot;: null
        },
        {
            &quot;id&quot;: 2,
            &quot;catId&quot;: 3,
            &quot;specificationName&quot;: &quot;颜色&quot;,
            &quot;addTime&quot;: null
        },
        {
            &quot;id&quot;: 3,
            &quot;catId&quot;: 3,
            &quot;specificationName&quot;: &quot;重量&quot;,
            &quot;addTime&quot;: null
        }
    ]
}

</code></pre>

<h4 id="116">1.1.6 商品详情</h4>
<h5 id="_38">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_39">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/detail</td>
</tr>
</tbody>
</table>
<h5 id="header_3">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_40">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_41">错误说明</h5>
<h5 id="_42">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;catName&quot;: null,  //类别名称
        &quot;goods&quot;: { //商品信息
            &quot;id&quot;: 10000000,
            &quot;storeId&quot;: 1, //商店ID
            &quot;goodsSn&quot;: &quot;&quot;, //商品sn
            &quot;name&quot;: &quot;测试&quot;,
            &quot;categoryId&quot;: 3,
            &quot;brandId&quot;: 0,
            &quot;gallery&quot;: null,
            &quot;keywords&quot;: &quot;&quot;,
            &quot;brief&quot;: &quot;&quot;,
            &quot;isOnSale&quot;: true,
            &quot;sortOrder&quot;: 100,
            &quot;picUrl&quot;: null,
            &quot;shareUrl&quot;: null,
            &quot;isNew&quot;: false,
            &quot;isHot&quot;: false,
            &quot;unit&quot;: &quot;’件‘&quot;,
            &quot;counterPrice&quot;: 0.00,
            &quot;retailPrice&quot;: 3.00, //售价
            &quot;vipPrice&quot;: 100000.00,
            &quot;addTime&quot;: &quot;2020-11-20 03:28:41&quot;,
            &quot;updateTime&quot;: null,
            &quot;deleted&quot;: false,
            &quot;tags&quot;: null,
            &quot;videos&quot;: null,
            &quot;testReports&quot;: null,
            &quot;goodsType&quot;: null,
            &quot;auditStatus&quot;: 0,
            &quot;freightPrice&quot;: 0.00, //运费
            &quot;detail&quot;: null
        },
        &quot;specifications&quot;: [ //商品规格
            {
                &quot;id&quot;: 14,
                &quot;storeId&quot;: 1,
                &quot;goodsId&quot;: 10000000,
                &quot;specificationId&quot;: 1,
                &quot;specificationName&quot;: &quot;规格&quot;,
                &quot;value&quot;: &quot;标准&quot;,
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;addTime&quot;: &quot;2020-11-20 03:28:42&quot;,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false
            }
        ],
        &quot;products&quot;: [ //规格商品信息
            {
                &quot;id&quot;: 13,
                &quot;storeId&quot;: 1,
                &quot;goodsId&quot;: 10000000,
                &quot;specifications&quot;: [
                    {
                        &quot;id&quot;: 1,
                        &quot;value&quot;: &quot;标准&quot;
                    }
                ],
                &quot;price&quot;: 3.00,
                &quot;number&quot;: 50,
                &quot;url&quot;: null,
                &quot;addTime&quot;: &quot;2020-11-20 03:28:42&quot;,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false,
                &quot;vipPrice&quot;: 0.00,
                &quot;counterPrice&quot;: 0.00
            }
        ]
    }
}

</code></pre>

<h4 id="117">1.1.7 删除商品</h4>
<h5 id="_43">接口说明</h5>
<p>删除商品信息</p>
<h5 id="_44">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/del</td>
</tr>
</tbody>
</table>
<h5 id="header_4">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_45">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_46">错误说明</h5>
<h5 id="_47">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="118">1.1.8 商品下架</h4>
<h5 id="_48">接口说明</h5>
<p>下架商品</p>
<h5 id="_49">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/goods/down</td>
</tr>
</tbody>
</table>
<h5 id="header_5">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_50">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_51">错误说明</h5>
<h5 id="_52">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="12">1.2 订单</h4>
<h4 id="121">1.2.1 订单列表</h4>
<h5 id="_53">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_54">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/list</td>
</tr>
</tbody>
</table>
<h5 id="header_6">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_55">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">showType</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单列表</td>
<td align="left">显示类型， 2，待发货； 3，待收货 5，已完成</td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left">默认1</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">限制单页条数</td>
<td align="left">默认10</td>
</tr>
</tbody>
</table>
<h5 id="_56">错误说明</h5>
<h5 id="_57">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 20,
        &quot;total&quot;: 0,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 64,
                &quot;orderSn&quot;: &quot;20201123608626&quot;,
                &quot;actualPrice&quot;: 3.00,
                &quot;orderStatusText&quot;: &quot;已付款&quot;,
                &quot;aftersaleStatus&quot;: 0,
                &quot;payTime&quot;: &quot;2020-11-24 08:07:17&quot;,
                &quot;totalNumber&quot;: 1,
                &quot;goodsList&quot;: [
                    {
                        &quot;id&quot;: 59,
                        &quot;orderId&quot;: null,
                        &quot;goodsId&quot;: null,
                        &quot;goodsName&quot;: &quot;测试&quot;,
                        &quot;goodsSn&quot;: null,
                        &quot;productId&quot;: null,
                        &quot;number&quot;: 1,
                        &quot;price&quot;: 3.00,
                        &quot;specifications&quot;: [
                            {
                                &quot;id&quot;: 1,
                                &quot;value&quot;: &quot;33&quot;
                            }
                        ],
                        &quot;picUrl&quot;: &quot;&quot;,
                        &quot;comment&quot;: null,
                        &quot;addTime&quot;: null,
                        &quot;updateTime&quot;: null,
                        &quot;brief&quot;: null,
                        &quot;gallery&quot;: null,
                        &quot;videos&quot;: null,
                        &quot;tags&quot;: null,
                        &quot;aftersaleId&quot;: null,
                        &quot;handleOption&quot;: null
                    }
                ]
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 0
    }
}

</code></pre>

<h4 id="122">1.2.2 订单列表</h4>
<h5 id="_58">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_59">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/list</td>
</tr>
</tbody>
</table>
<h5 id="header_7">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_60">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">showType</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单列表</td>
<td align="left">显示类型， 2，待发货； 3，待收货 5，已完成</td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left">默认1</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">限制单页条数</td>
<td align="left">默认10</td>
</tr>
</tbody>
</table>
<h5 id="_61">错误说明</h5>
<h5 id="_62">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 20,
        &quot;total&quot;: 0,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 64,
                &quot;orderSn&quot;: &quot;20201123608626&quot;,
                &quot;actualPrice&quot;: 3.00,
                &quot;orderStatusText&quot;: &quot;已付款&quot;,
                &quot;aftersaleStatus&quot;: 0,
                &quot;payTime&quot;: &quot;2020-11-24 08:07:17&quot;,
                &quot;totalNumber&quot;: 1,
                &quot;goodsList&quot;: [
                    {
                        &quot;id&quot;: 59,
                        &quot;orderId&quot;: null,
                        &quot;goodsId&quot;: null,
                        &quot;goodsName&quot;: &quot;测试&quot;,
                        &quot;goodsSn&quot;: null,
                        &quot;productId&quot;: null,
                        &quot;number&quot;: 1,
                        &quot;price&quot;: 3.00,
                        &quot;specifications&quot;: [
                            {
                                &quot;id&quot;: 1,
                                &quot;value&quot;: &quot;33&quot;
                            }
                        ],
                        &quot;picUrl&quot;: &quot;&quot;,
                        &quot;comment&quot;: null,
                        &quot;addTime&quot;: null,
                        &quot;updateTime&quot;: null,
                        &quot;brief&quot;: null,
                        &quot;gallery&quot;: null,
                        &quot;videos&quot;: null,
                        &quot;tags&quot;: null,
                        &quot;aftersaleId&quot;: null,
                        &quot;handleOption&quot;: null
                    }
                ]
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 0
    }
}

</code></pre>

<h4 id="123">1.2.3 订单发货</h4>
<h5 id="_63">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_64">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/ship</td>
</tr>
</tbody>
</table>
<h5 id="header_8">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_65">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left">订单ID</td>
</tr>
<tr>
<td align="left">shipSn</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流单号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">shipChannel</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流编号</td>
<td align="left">根据 /channel 接口返回</td>
</tr>
</tbody>
</table>
<h5 id="_66">错误说明</h5>
<h5 id="_67">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="124">1.2.4 物流公司查询</h4>
<h5 id="_68">接口说明</h5>
<p>物流公司查询</p>
<h5 id="_69">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/channel</td>
</tr>
</tbody>
</table>
<h5 id="header_9">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_70">输入参数</h5>
<p>无</p>
<h5 id="_71">错误说明</h5>
<h5 id="_72">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: [
        {
            &quot;code&quot;: &quot;YZPY&quot;,
            &quot;name&quot;: &quot;中国邮政&quot;
        },
        {
            &quot;code&quot;: &quot;JDKY&quot;,
            &quot;name&quot;: &quot;京东快递&quot;
        },
        {
            &quot;code&quot;: &quot;SF&quot;,
            &quot;name&quot;: &quot;顺丰速运&quot;
        },
        {
            &quot;code&quot;: &quot;ZTO&quot;,
            &quot;name&quot;: &quot;中通快递&quot;
        },
        {
            &quot;code&quot;: &quot;YTO&quot;,
            &quot;name&quot;: &quot;圆通速递&quot;
        },
        {
            &quot;code&quot;: &quot;YD&quot;,
            &quot;name&quot;: &quot;韵达速递&quot;
        },
        {
            &quot;code&quot;: &quot;YZPY&quot;,
            &quot;name&quot;: &quot;邮政快递包裹&quot;
        },
        {
            &quot;code&quot;: &quot;EMS&quot;,
            &quot;name&quot;: &quot;EMS&quot;
        },
        {
            &quot;code&quot;: &quot;DBL&quot;,
            &quot;name&quot;: &quot;德邦快递&quot;
        },
        {
            &quot;code&quot;: &quot;FAST&quot;,
            &quot;name&quot;: &quot;快捷快递&quot;
        },
        {
            &quot;code&quot;: &quot;ZJS&quot;,
            &quot;name&quot;: &quot;宅急送&quot;
        },
        {
            &quot;code&quot;: &quot;TNT&quot;,
            &quot;name&quot;: &quot;TNT快递&quot;
        },
        {
            &quot;code&quot;: &quot;UPS&quot;,
            &quot;name&quot;: &quot;UPS&quot;
        },
        {
            &quot;code&quot;: &quot;DHL&quot;,
            &quot;name&quot;: &quot;DHL&quot;
        },
        {
            &quot;code&quot;: &quot;FEDEX&quot;,
            &quot;name&quot;: &quot;FEDEX联邦(国内件)&quot;
        },
        {
            &quot;code&quot;: &quot;FEDEX_GJ&quot;,
            &quot;name&quot;: &quot;FEDEX联邦(国际件)&quot;
        }
    ]
}
</code></pre>

<h4 id="125">1.2.5 订单详情</h4>
<h5 id="_73">接口说明</h5>
<p>订单详细信息</p>
<h5 id="_74">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/detail</td>
</tr>
</tbody>
</table>
<h5 id="header_10">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_75">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_76">错误说明</h5>
<h5 id="_77">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
       &quot;storeInfo&quot;: {
                    &quot;id&quot;: 1,
                    &quot;name&quot;: &quot;大头娃&quot;,
                    &quot;intro&quot;: null,
                    &quot;images&quot;: null
                },
        &quot;orderInfo&quot;: {  //订单信息
            &quot;id&quot;: 47, //订单ID
            &quot;orderSn&quot;: &quot;20200711391009&quot;, //订单sN
            &quot;message&quot;: &quot;&quot;, //留言
            &quot;addTime&quot;: &quot;2020-07-11 18:48:01&quot;, //添加时间
            &quot;payTime&quot;: &quot;2020-07-11 18:48:01&quot;, //支付时间
            &quot;consignee&quot;: &quot;string&quot;, //收货人
            &quot;mobile&quot;: &quot;15201008961&quot;, //手机号
            &quot;address&quot;: &quot;stringstringstring string&quot;,  //收货地址
            &quot;goodsPrice&quot;: 78.00,  //产品价格
            &quot;couponPrice&quot;: 0.00, //优惠券价格
            &quot;freightPrice&quot;: 8.00, //运费
            &quot;actualPrice&quot;: 86.00, //实际支付
            &quot;orderStatusText&quot;: &quot;未付款&quot;,  //付款状态描述
            &quot;handleOption&quot;: {  //处理状态
                &quot;cancel&quot;: true,  //是否可取消
                &quot;delete&quot;: false, //是否可删除
                &quot;pay&quot;: true,  //是否可支付
                &quot;comment&quot;: false, //是否可评论
                &quot;confirm&quot;: false,  //是否可确认收货
                &quot;refund&quot;: false, //是否可退货
                &quot;rebuy&quot;: false, //是否可重新购买
                &quot;aftersale&quot;: false, //是否可售后
                &quot;remind&quot;: false, //是否可催单
                &quot;logistic&quot;: true //是否可查看物流
            },
            &quot;aftersaleStatus&quot;: 0,  //售后状态，0是可申请，1是用户已申请，2是管理员审核通过，3是管理员退款成功，4是管理员审核拒绝，5是用户已取消
            &quot;expCode&quot;: null, //物流公司编码
            &quot;expName&quot;: null, //物流名称
            &quot;expNo&quot;: null //物流单号
        },
        &quot;orderGoods&quot;: [  //订单产品信息
            {
                &quot;id&quot;: 47,  //产品ID
                &quot;orderId&quot;: 47, //订单ID
                &quot;goodsId&quot;: 1006014, //商品ID
                &quot;goodsName&quot;: &quot;双宫茧桑蚕丝被 子母被&quot;, //名称
                &quot;goodsSn&quot;: &quot;1006014&quot;, //SN
                &quot;productId&quot;: 11, //货品ID
                &quot;number&quot;: 1, //数量
                &quot;price&quot;: 1399.00, //价格
                &quot;specifications&quot;: [  //规格
                    &quot;标准&quot;
                ],
                &quot;handleOption&quot;: {  //操作按钮
                    &quot;apply&quot;: false, //申请售后
                    &quot;hotline&quot;: false, //客服热线
                    &quot;cancel&quot;: false //取消售后
                },
                &quot;aftersaleId&quot;:123,//售后ID
                &quot;picUrl&quot;: &quot;http://yanxuan.nosdn.127.net/2b537159f0f789034bf8c4b339c43750.png&quot;,  //图片
                &quot;comment&quot;: 0,  //评论数
                &quot;addTime&quot;: &quot;2020-07-11 11:39:02&quot;, //添加时间
                &quot;updateTime&quot;: &quot;2020-07-11 11:39:02&quot;, //更新时间
                &quot;deleted&quot;: false //是否已删除
            }
        ],
        &quot;expressInfo&quot;: {
            &quot;message&quot;: &quot;ok&quot;,
            &quot;nu&quot;: &quot;SF1196520227006&quot;,
            &quot;ischeck&quot;: &quot;0&quot;,
            &quot;condition&quot;: &quot;00&quot;,
            &quot;com&quot;: &quot;shunfeng&quot;,
            &quot;status&quot;: &quot;200&quot;,
            &quot;state&quot;: &quot;0&quot;,
            &quot;data&quot;: [
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京南法信中转场】已装车,准备发往 【北京海淀亿世界营业点】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京顺义集散中心】已装车,准备发往 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京朝阳新荟城营业点】已装车,准备发往 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;context&quot;: &quot;[北京市]顺丰速运 已收取快件&quot;
                }
            ]
        }
    }
}

</code></pre>

<h4 id="126">1.2.6 物流详情</h4>
<h5 id="_78">接口说明</h5>
<p>订单详细信息</p>
<h5 id="_79">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/order/express/detail</td>
</tr>
</tbody>
</table>
<h5 id="header_11">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_80">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID/或售后ID</td>
<td align="left">根据type变化</td>
</tr>
<tr>
<td align="left">type</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">类型</td>
<td align="left">默认 0, 0 订单 1 物流</td>
</tr>
</tbody>
</table>
<h5 id="_81">错误说明</h5>
<h5 id="_82">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;shipSn&quot;:&quot;1233&quot;, //物流sn
        &quot;shipChannel&quot;:&quot;物流公司&quot;, //物流sn
        &quot;address&quot;:&quot;详细地址&quot;, //详细地址
        &quot;consignee&quot;:&quot;收货人&quot;, //收货人
        &quot;mobile&quot;:&quot;15201008061&quot;, //手机号,
        &quot;expressInfo&quot;: {
            &quot;message&quot;: &quot;ok&quot;,
            &quot;nu&quot;: &quot;SF1196520227006&quot;,
            &quot;ischeck&quot;: &quot;0&quot;,
            &quot;condition&quot;: &quot;00&quot;,
            &quot;com&quot;: &quot;shunfeng&quot;,
            &quot;status&quot;: &quot;200&quot;,
            &quot;state&quot;: &quot;0&quot;,
            &quot;data&quot;: [
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京南法信中转场】已装车,准备发往 【北京海淀亿世界营业点】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京顺义集散中心】已装车,准备发往 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京朝阳新荟城营业点】已装车,准备发往 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;context&quot;: &quot;[北京市]顺丰速运 已收取快件&quot;
                }
            ]
        }
    }
}

</code></pre>

<h4 id="13">1.3 退款地址</h4>
<h4 id="131">1.3.1 用户收货地址列表</h4>
<h5 id="_83">接口说明</h5>
<p>用户收货地址列表</p>
<h5 id="_84">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/admin/mall/address/list</td>
</tr>
</tbody>
</table>
<h5 id="header_12">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_85">输入参数</h5>
<p>无</p>
<h5 id="_86">错误说明</h5>
<h5 id="_87">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 1,
        &quot;total&quot;: 1,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 3,  //地址ID
                &quot;name&quot;: &quot;我&quot;, //地址名称
                &quot;userId&quot;: 11445, //用户ID
                &quot;province&quot;: &quot;北京市&quot;, //省份
                &quot;city&quot;: &quot;市辖区&quot;, //市区
                &quot;county&quot;: &quot;朝阳区&quot;, //地区
                &quot;addressDetail&quot;: &quot;211&quot;, //地址详情
                &quot;areaCode&quot;: &quot;110105&quot;, //地区编码
                &quot;postalCode&quot;: null, //邮政编码
                &quot;tel&quot;: &quot;15201008961&quot;, //手机号
                &quot;isDefault&quot;: true, //是否默认地址
                &quot;addTime&quot;: &quot;2020-06-29 14:46:15&quot;, //创建时间
                &quot;updateTime&quot;: &quot;2020-06-29 14:46:15&quot;, //更新时间
                &quot;deleted&quot;: false //是否已删除
            }
        ],
        &quot;unit&quot;: &quot;条&quot;,
        &quot;extInfo&quot;: null,
        &quot;empty&quot;: false,
        &quot;endIndex&quot;: 1,
        &quot;startIndex&quot;: 0,
        &quot;firstPage&quot;: true,
        &quot;lastPage&quot;: true,
        &quot;nextPage&quot;: 1,
        &quot;previousPage&quot;: 1,
        &quot;totalPages&quot;: 1
    }
}

</code></pre>

<h4 id="132">1.3.2 收货地址详情</h4>
<h5 id="_88">接口说明</h5>
<p>收货地址详细信息</p>
<h5 id="_89">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/address/detail</td>
</tr>
<tr>
<td align="left">#####  Header 头</td>
<td align="center"></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_90">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">地址ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_91">错误说明</h5>
<h5 id="_92">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: 3,  //地址ID
        &quot;name&quot;: &quot;我&quot;, //地址名称
        &quot;userId&quot;: 11445, //用户ID
        &quot;province&quot;: &quot;北京市&quot;, //省份
        &quot;city&quot;: &quot;市辖区&quot;, //市区
        &quot;county&quot;: &quot;朝阳区&quot;, //地区
        &quot;addressDetail&quot;: &quot;211&quot;, //地址详情
        &quot;areaCode&quot;: &quot;110105&quot;, //地区编码
        &quot;postalCode&quot;: null, //邮政编码
        &quot;tel&quot;: &quot;15201008961&quot;, //手机号
        &quot;isDefault&quot;: true, //是否默认地址
        &quot;addTime&quot;: &quot;2020-06-29 14:46:15&quot;, //创建时间
        &quot;updateTime&quot;: &quot;2020-06-29 14:46:15&quot;, //更新时间
        &quot;deleted&quot;: false //是否已删除
    }

}

</code></pre>

<h4 id="133">1.3.3 添加收货地址</h4>
<h5 id="_93">接口说明</h5>
<p>添加收货地址</p>
<h5 id="header_13">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_94">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/address/save</td>
</tr>
</tbody>
</table>
<h5 id="_95">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">收货地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">name</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">名称</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">province</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">省份</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">city</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">城市</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">county</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">乡</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">addressDetail</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">详细地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">areaCode</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">地址编码</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">postalCode</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">邮政编码</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">tel</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">电话</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">isDefault</td>
<td align="center">是</td>
<td align="left">boolean</td>
<td align="left">是否默认地址</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_96">错误说明</h5>
<h5 id="_97">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: 3,  //地址ID
    }

}

</code></pre>

<h4 id="134">1.3.4 删除收货地址</h4>
<h5 id="_98">接口说明</h5>
<p>删除收货地址</p>
<h5 id="header_14">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_99">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/address/delete</td>
</tr>
</tbody>
</table>
<h5 id="_100">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是 </td>
<td align="left">int</td>
<td align="left">收货地址</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_101">错误说明</h5>
<h5 id="_102">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }

}
</code></pre>

<h4 id="135">1.3.5 设置默认收货地址</h4>
<h5 id="_103">接口说明</h5>
<p>收货地址详细信息</p>
<h5 id="header_15">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_104">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/address/default</td>
</tr>
</tbody>
</table>
<h5 id="_105">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">地址ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_106">错误说明</h5>
<h5 id="_107">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: 3,  //地址ID
    }

}

</code></pre>

<h4 id="14">1.4 售后</h4>
<h4 id="141">1.4.1 售后列表信息</h4>
<h5 id="_108">接口说明</h5>
<p>售后列表信息</p>
<h5 id="header_16">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_109">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/aftersale/list</td>
</tr>
</tbody>
</table>
<h5 id="_110">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">showType</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">显示类型</td>
<td align="left">默认0  0:待受理  1:待收货  2:已完成</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_111">错误说明</h5>
<h5 id="_112">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;goodsList&quot;: [
                    {
                        &quot;id&quot;: 63,
                        &quot;orderId&quot;: 68,
                        &quot;goodsId&quot;: 10000000,
                        &quot;goodsName&quot;: &quot;测试&quot;,
                        &quot;goodsSn&quot;: &quot;&quot;,
                        &quot;productId&quot;: 13,
                        &quot;number&quot;: 1,
                        &quot;price&quot;: 3.00,
                        &quot;specifications&quot;: [
                            {
                                &quot;id&quot;: 1,
                                &quot;value&quot;: &quot;33&quot;
                            }
                        ],
                        &quot;picUrl&quot;: &quot;&quot;,
                        &quot;comment&quot;: 0,
                        &quot;addTime&quot;: &quot;2020-11-25 12:30:36&quot;,
                        &quot;updateTime&quot;: &quot;2020-11-25 12:38:24&quot;,
                        &quot;brief&quot;: null,
                        &quot;gallery&quot;: null,
                        &quot;videos&quot;: null,
                        &quot;tags&quot;: null,
                        &quot;aftersaleId&quot;: null,
                        &quot;handleOption&quot;: null
                    }
                ],
                &quot;id&quot;: 1,
                &quot;aftersaleSn&quot;: &quot;20201125332940&quot;,
                &quot;storeId&quot;: 1, 
                &quot;orderId&quot;: 68,
                &quot;userId&quot;: 11632,
                &quot;type&quot;: 0,  // 0是未收货退款，1是已收货（无需退货）退款，2用户退货退款
                &quot;reason&quot;: &quot;测试一下&quot;, //售后原因
                &quot;amount&quot;: 3.00,
                &quot;pictures&quot;: [],
                &quot;comment&quot;: &quot;&quot;,
                &quot;status&quot;: 0, // 1:待受理  2 同意  3  已退货 4 已退款  5 拒绝  6 取消
                &quot;handleTime&quot;: null,
                &quot;addTime&quot;: &quot;2020-11-25 12:38:23&quot;,
                &quot;limitProcessSeconds&quot;: null  //受理时间
            }
        ],
        &quot;end&quot;: true,
        &quot;summary&quot;: {
            &quot;toAcceptTotal&quot;: 1,  //待受理计数
            &quot;toReceiveTotal&quot;: 0, //待收货计数
            &quot;completedTotal&quot;: 0 // 完成计数
        },
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}

</code></pre>

<h4 id="142">1.4.2 售后受理</h4>
<h5 id="_113">接口说明</h5>
<p>受理售后</p>
<h5 id="header_17">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_114">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/aftersale/recept</td>
</tr>
</tbody>
</table>
<h5 id="_115">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">售后ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">addressId</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">退货地址ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_116">错误说明</h5>
<h5 id="_117">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="143">1.4.3 售后驳回</h4>
<h5 id="_118">接口说明</h5>
<p>售后驳回</p>
<h5 id="header_18">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_119">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/aftersale/reject</td>
</tr>
</tbody>
</table>
<h5 id="_120">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">售后ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">comment</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">驳回说明</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_121">错误说明</h5>
<h5 id="_122">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="144">1.4.4 售后详情</h4>
<h5 id="_123">接口说明</h5>
<p>受理售后</p>
<h5 id="header_19">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_124">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/aftersale/detail</td>
</tr>
</tbody>
</table>
<h5 id="_125">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">售后ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_126">错误说明</h5>
<h5 id="_127">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;aftersale&quot;: {
            &quot;id&quot;: 1,
            &quot;aftersaleSn&quot;: &quot;20201125332940&quot;,
            &quot;storeId&quot;: 1,
            &quot;orderId&quot;: 68,
            &quot;orderGoodsId&quot;: 63,
            &quot;userId&quot;: 11632,
            &quot;type&quot;: 0,
            &quot;reason&quot;: &quot;测试一下&quot;,
            &quot;amount&quot;: 3.00,
            &quot;pictures&quot;: [],
            &quot;comment&quot;: &quot;&quot;,
            &quot;status&quot;: 1,
            &quot;handleTime&quot;: null,
            &quot;addTime&quot;: &quot;2020-11-25 12:38:23&quot;,
            &quot;updateTime&quot;: &quot;2020-11-25 12:38:23&quot;,
            &quot;deleted&quot;: false,
            &quot;shipSn&quot;: null,
            &quot;shipChannel&quot;: null
        },
        &quot;goodsList&quot;: [
            {
                &quot;id&quot;: 63,
                &quot;storeId&quot;: 1,
                &quot;orderId&quot;: 68,
                &quot;goodsId&quot;: 10000000,
                &quot;goodsName&quot;: &quot;测试&quot;,
                &quot;goodsSn&quot;: &quot;&quot;,
                &quot;productId&quot;: 13,
                &quot;number&quot;: 1,
                &quot;price&quot;: 3.00,
                &quot;specifications&quot;: [
                    {
                        &quot;id&quot;: 1,
                        &quot;value&quot;: &quot;33&quot;
                    }
                ],
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;comment&quot;: 0,
                &quot;addTime&quot;: &quot;2020-11-25 12:30:36&quot;,
                &quot;updateTime&quot;: &quot;2020-11-25 12:38:24&quot;,
                &quot;deleted&quot;: false,
                &quot;aftersaleStatus&quot;: 1,
                &quot;refundAmount&quot;: null,
                &quot;refundType&quot;: null,
                &quot;refundContent&quot;: null,
                &quot;refundTime&quot;: null
            }
        ],
        &quot;refundAddress&quot;:{
            &quot;id&quot;: 3,  //地址ID
            &quot;name&quot;: &quot;我&quot;, //地址名称
            &quot;storeId&quot;: 11445, //店铺ID
            &quot;province&quot;: &quot;北京市&quot;, //省份
            &quot;city&quot;: &quot;市辖区&quot;, //市区
            &quot;county&quot;: &quot;朝阳区&quot;, //地区
            &quot;addressDetail&quot;: &quot;211&quot;, //地址详情
            &quot;areaCode&quot;: &quot;110105&quot;, //地区编码
            &quot;postalCode&quot;: null, //邮政编码
            &quot;tel&quot;: &quot;15201008961&quot;, //手机号
            &quot;isDefault&quot;: true, //是否默认地址
            &quot;addTime&quot;: &quot;2020-06-29 14:46:15&quot;, //创建时间
            &quot;updateTime&quot;: &quot;2020-06-29 14:46:15&quot;, //更新时间
            &quot;deleted&quot;: false //是否已删除

        }
        &quot;order&quot;: {
            &quot;id&quot;: 68,
            &quot;storeId&quot;: 1,
            &quot;userId&quot;: 11632,
            &quot;orderSn&quot;: &quot;20201125274465&quot;,
            &quot;orderStatus&quot;: 201,
            &quot;aftersaleStatus&quot;: 0,
            &quot;consignee&quot;: &quot;测试&quot;,
            &quot;mobile&quot;: &quot;15201008961&quot;,
            &quot;address&quot;: &quot;北京市北京市辖区朝阳区 北京&quot;,
            &quot;message&quot;: &quot;备注&quot;,
            &quot;goodsPrice&quot;: 3.00,
            &quot;freightPrice&quot;: 0.00,
            &quot;couponPrice&quot;: 0.00,
            &quot;integralPrice&quot;: 0.00,
            &quot;grouponPrice&quot;: 0.00,
            &quot;orderPrice&quot;: 3.00,
            &quot;actualPrice&quot;: 3.00,
            &quot;payId&quot;: &quot;KIN201125203025493969FB7F661001&quot;,
            &quot;payTime&quot;: &quot;2020-11-25 12:30:49&quot;,
            &quot;shipSn&quot;: null,
            &quot;shipChannel&quot;: null,
            &quot;shipTime&quot;: null,
            &quot;refundAmount&quot;: 0.00,
            &quot;refundType&quot;: null,
            &quot;refundContent&quot;: null,
            &quot;refundTime&quot;: null,
            &quot;confirmTime&quot;: null,
            &quot;comments&quot;: 0,
            &quot;endTime&quot;: null,
            &quot;addTime&quot;: &quot;2020-11-25 04:30:36&quot;,
            &quot;updateTime&quot;: 1606307904118,
            &quot;deleted&quot;: false,
            &quot;payType&quot;: &quot;WX_APP&quot;
        },
        &quot;expressInfo&quot;: null
    }
}

</code></pre>

<h4 id="145">1.4.5 售后退款</h4>
<h5 id="_128">接口说明</h5>
<p>受理售后</p>
<h5 id="header_20">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_129">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/aftersale/refund</td>
</tr>
</tbody>
</table>
<h5 id="_130">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">售后ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_131">错误说明</h5>
<h5 id="_132">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
  }
</code></pre>

<h4 id="_133">交易</h4>
<h4 id="151">1.5.1 账户</h4>
<h5 id="_134">接口说明</h5>
<p>账户信息</p>
<h5 id="header_21">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_135">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/store/wallet</td>
</tr>
</tbody>
</table>
<h5 id="_136">输入参数</h5>
<p>无</p>
<h5 id="_137">错误说明</h5>
<h5 id="_138">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;storeId&quot;: 1,
        &quot;money&quot;: 0.00, //可提现金额
        &quot;frozenMoney&quot;: 45.00, //冻结金额
        &quot;totalMoney&quot;: 45.00, //总金额
        &quot;bindAccount&quot;:&quot;xxxxx&quot;, //绑定账户
        &quot;bindStatus&quot;:0, //绑定状态 0 未绑定  1已绑定
    }
}

</code></pre>

<h4 id="152">1.5.2 交易流水</h4>
<h5 id="_139">接口说明</h5>
<p>交易流水</p>
<h5 id="header_22">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_140">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/store/transactions</td>
</tr>
</tbody>
</table>
<h5 id="_141">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">showType</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">查询类型</td>
<td align="left">默认 0  0:所有   -1:未结算</td>
</tr>
</tbody>
</table>
<h5 id="_142">错误说明</h5>
<h5 id="_143">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;title&quot;: &quot;测试&quot;,
                &quot;tradeNum&quot;: &quot;20201202571854&quot;,
                &quot;createTime&quot;: &quot;2020-12-02 14:47:50&quot;,
                &quot;money&quot;: 3.00,
                &quot;btype&quot;: 2, //2:订单 5:退款 6:提现
                &quot;type&quot;: 1, //1 入账  2 出账
                &quot;statusText&quot;: &quot;已付款&quot;
            },
            {
                &quot;title&quot;: &quot;测试&quot;,
                &quot;tradeNum&quot;: &quot;20201201043208&quot;,
                &quot;createTime&quot;: &quot;2020-12-01 17:31:14&quot;,
                &quot;money&quot;: 3.00,
                &quot;btype&quot;: 2,
                &quot;statusText&quot;: &quot;已付款&quot;
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}

</code></pre>

<h4 id="153">1.5.3 提现接口</h4>
<h5 id="_144">接口说明</h5>
<p>提现接口</p>
<h5 id="header_23">Header 头</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left">用于店主权限校验</td>
</tr>
</tbody>
</table>
<h5 id="_145">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/admin/store/withdraw</td>
</tr>
</tbody>
</table>
<h5 id="_146">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">money</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">提现jin'e</td>
<td align="left">提现金额</td>
</tr>
</tbody>
</table>
<h5 id="_147">错误说明</h5>
<h5 id="_148">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;storeId&quot;: 1,
        &quot;money&quot;: 0.00, //可提现金额
        &quot;frozenMoney&quot;: 45.00, //冻结金额
        &quot;totalMoney&quot;: 45.00, //总金额
        &quot;bindAccount&quot;:&quot;xxxxx&quot;, //绑定账户
        &quot;bindStatus&quot;:0, //绑定状态 0 未绑定  1已绑定
    }
}

</code></pre>

<h3 id="_149">用户端</h3>
<hr />
<h4 id="11_1">1.1 商品</h4>
<h4 id="111_1">1.1.1 小店商品列表接口</h4>
<h5 id="_150">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_151">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/goods/list</td>
</tr>
</tbody>
</table>
<h5 id="_152">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">storeId</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">商店ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">roomId</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left">空间/商店ID（有一个必填）</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_153">错误说明</h5>
<h5 id="_154">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: 1,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 10000000,
                &quot;storeId&quot;: 1,
                &quot;detail&quot;: null,
                &quot;name&quot;: &quot;测试&quot;,
                &quot;retailPrice&quot;: 3.00
            }
        ],
        &quot;end&quot;: true,
        &quot;storeId&quot;: 1,
        &quot;name&quot;: &quot;大头娃&quot;,
        &quot;images&quot;: null,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 1
    }
}

</code></pre>

<h4 id="112_1">1.1.2 商品详情</h4>
<h5 id="_155">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_156">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/goods/detail</td>
</tr>
</tbody>
</table>
<h5 id="_157">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_158">错误说明</h5>
<h5 id="_159">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;catName&quot;: null,
        &quot;goods&quot;: { //商品信息
            &quot;id&quot;: 10000000,
            &quot;storeId&quot;: 1,
            &quot;goodsSn&quot;: &quot;&quot;,
            &quot;name&quot;: &quot;测试&quot;,
            &quot;categoryId&quot;: 3,
            &quot;brandId&quot;: 0,
            &quot;gallery&quot;: null,
            &quot;keywords&quot;: &quot;&quot;,
            &quot;brief&quot;: &quot;&quot;,
            &quot;isOnSale&quot;: true,
            &quot;sortOrder&quot;: 100,
            &quot;picUrl&quot;: null,
            &quot;shareUrl&quot;: null,
            &quot;isNew&quot;: false,
            &quot;isHot&quot;: false,
            &quot;unit&quot;: &quot;’件‘&quot;,
            &quot;counterPrice&quot;: 0.00,
            &quot;retailPrice&quot;: 3.00, //售价
            &quot;vipPrice&quot;: 100000.00,
            &quot;addTime&quot;: &quot;2020-11-20 03:28:41&quot;,
            &quot;updateTime&quot;: null,
            &quot;deleted&quot;: false,
            &quot;tags&quot;: null,
            &quot;videos&quot;: null,
            &quot;testReports&quot;: null,
            &quot;goodsType&quot;: null,
            &quot;auditStatus&quot;: 0,
            &quot;freightPrice&quot;: 0.00, //运费
            &quot;detail&quot;: null
        },
        &quot;specifications&quot;: [ //商品规格
            {
                &quot;id&quot;: 14,
                &quot;storeId&quot;: 1,
                &quot;goodsId&quot;: 10000000,
                &quot;specificationId&quot;: 1,
                &quot;specificationName&quot;: &quot;规格&quot;,
                &quot;value&quot;: &quot;标准&quot;,
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;addTime&quot;: &quot;2020-11-20 03:28:42&quot;,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false
            }
        ],
        &quot;products&quot;: [ //规格商品信息
            {
                &quot;id&quot;: 13,
                &quot;storeId&quot;: 1,
                &quot;goodsId&quot;: 10000000,
                &quot;specifications&quot;: [
                    {
                        &quot;id&quot;: 1,
                        &quot;value&quot;: &quot;标准&quot;
                    }
                ],
                &quot;price&quot;: 3.00,
                &quot;number&quot;: 50,
                &quot;url&quot;: null,
                &quot;addTime&quot;: &quot;2020-11-20 03:28:42&quot;,
                &quot;updateTime&quot;: null,
                &quot;deleted&quot;: false,
                &quot;vipPrice&quot;: 0.00,
                &quot;counterPrice&quot;: 0.00
            }
        ]
    }
}

</code></pre>

<h4 id="113_1">1.1.3 产品简介信息</h4>
<h5 id="_160">接口说明</h5>
<p>用于聊天窗口产品简介信息显示</p>
<h5 id="_161">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/goods/brief</td>
</tr>
</tbody>
</table>
<h5 id="_162">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_163">错误说明</h5>
<h5 id="_164">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: 10000053,
        &quot;goodsName&quot;: &quot;面&quot;,
        &quot;picUrl&quot;: &quot;Fs-UctrCkT-ja4UCulFAfTGIa7V2.jpg&quot;,
        &quot;price&quot;: 0.02,
        &quot;storeInfo&quot;: {
            &quot;id&quot;: 24,
            &quot;name&quot;: &quot;真传泰拳馆&quot;,
            &quot;intro&quot;: null,
            &quot;roomId&quot;: &quot;B0G39HMP4L&quot;,
            &quot;images&quot;: [
                &quot;http://resources.kinstalk.com/yaljtdqiezt1l4cs5z8s.jpg&quot;
            ],
            &quot;owner&quot;: 12748
        }
    }
}

</code></pre>

<h4 id="12_1">1.2 订单</h4>
<h4 id="121_1">1.2.1 订单信息预览</h4>
<h5 id="_165">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_166">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/checkout</td>
</tr>
</tbody>
</table>
<h5 id="_167">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">productId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">amount</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品数量</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_168">错误说明</h5>
<h5 id="_169">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;goodsTotalPrice&quot;: 3.00,
        &quot;freightPrice&quot;: 0.00, //邮费
        &quot;orderTotalPrice&quot;: 3.00,
        &quot;actualPrice&quot;: 3.00,
        &quot;items&quot;: [  //
            {
                &quot;storeId&quot;: 1,
                &quot;storeName&quot;: &quot;大头娃&quot;,
                &quot;storeImages&quot;: null,
                &quot;goodsList&quot;: [
                    {
                        &quot;image&quot;: null,
                        &quot;goodsId&quot;: 10000000,
                        &quot;productId&quot;: null,
                        &quot;name&quot;: &quot;测试&quot;,
                        &quot;specifications&quot;: null,
                        &quot;price&quot;: 3.00,
                        &quot;amount&quot;: 1
                    }
                ]
            }
        ],
        &quot;defaultAddress&quot;: null, //默认地址
        &quot;payTypes&quot;: [  //支付方式
            {
                &quot;typeName&quot;: &quot;balance&quot;,
                &quot;comment&quot;: &quot;余额支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;ALIPAYCASH&quot;,
                &quot;comment&quot;: &quot;支付宝支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;WX_APP&quot;,
                &quot;comment&quot;: &quot;微信支付&quot;,
                &quot;thumbnail&quot;: null
            }
        ]
    }
}

</code></pre>

<h4 id="122_1">1.2.2 下单接口</h4>
<h5 id="_170">接口说明</h5>
<p>店主端商品管理主页</p>
<h5 id="_171">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/submit</td>
</tr>
</tbody>
</table>
<h5 id="_172">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">productId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">amount</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">商品数量</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">addressId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">message</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">备注</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">payType</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">支付类型</td>
<td align="left">WX_APP</td>
</tr>
</tbody>
</table>
<h5 id="_173">错误说明</h5>
<h5 id="_174">返回实例</h5>
<pre><code class="json">

 {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
            &quot;payOrderId&quot;:xxxx,//订单号
            &quot;callPayInfo&quot;:xxxxx, //各平台对应支付信息 
       }
    }

</code></pre>

<h4 id="123_1">1.2.3 取消订单</h4>
<h5 id="_175">接口说明</h5>
<p>根据订单ID获取订单详细信息</p>
<h5 id="_176">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/cancel</td>
</tr>
</tbody>
</table>
<h5 id="_177">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单详细信息</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_178">错误说明</h5>
<h5 id="_179">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

       }
    }

</code></pre>

<h4 id="124_1">1.2.4 支付订单</h4>
<h5 id="_180">接口说明</h5>
<p>根据订单ID获取订单详细信息</p>
<h5 id="_181">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/prepay</td>
</tr>
</tbody>
</table>
<h5 id="_182">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left">订单号</td>
</tr>
<tr>
<td align="left">payType</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">支付方式</td>
<td align="left">根据结算页拉取的支付项填写，小程序可以固定写死 WX_MP</td>
</tr>
</tbody>
</table>
<h5 id="_183">错误说明</h5>
<h5 id="_184">返回实例</h5>
<pre><code class="json">
   {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
            &quot;payOrderId&quot;:xxxx,//订单号
            &quot;callPayInfo&quot;:xxxxx, //各平台对应支付信息 
       }
    }

</code></pre>

<h4 id="125_1">1.2.5 订单列表</h4>
<h5 id="_185">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_186">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/list</td>
</tr>
</tbody>
</table>
<h5 id="_187">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">showType</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单列表</td>
<td align="left">显示类型，0，全部订单； 1，待付款； 2，待发货； 3，待收货； 4，待评价。 5，已完成</td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left">默认1</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">限制单页条数</td>
<td align="left">默认10</td>
</tr>
</tbody>
</table>
<h5 id="_188">错误说明</h5>
<h5 id="_189">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 20,
        &quot;total&quot;: 0,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 64,
                &quot;orderSn&quot;: &quot;20201123608626&quot;,
                &quot;actualPrice&quot;: 3.00,
                &quot;orderStatusText&quot;: &quot;未付款&quot;,
                &quot;handleOption&quot;: { //操作按钮
                    &quot;cancel&quot;: true,
                    &quot;delete&quot;: false,
                    &quot;pay&quot;: true,
                    &quot;comment&quot;: false,
                    &quot;confirm&quot;: false,
                    &quot;refund&quot;: false,
                    &quot;rebuy&quot;: false,
                    &quot;aftersale&quot;: false,
                    &quot;remind&quot;: false,
                    &quot;logistic&quot;: false
                },
                &quot;aftersaleStatus&quot;: 0,
                &quot;goodsList&quot;: [  //订单商品信息
                    {
                        &quot;id&quot;: 59,
                        &quot;orderId&quot;: null,
                        &quot;goodsId&quot;: null,
                        &quot;goodsName&quot;: &quot;测试&quot;,
                        &quot;goodsSn&quot;: null,
                        &quot;productId&quot;: null,
                        &quot;number&quot;: 1,
                        &quot;price&quot;: 3.00,
                        &quot;specifications&quot;: [
                            {
                                &quot;id&quot;: 1,
                                &quot;value&quot;: &quot;33&quot;
                            }
                        ],
                        &quot;picUrl&quot;: &quot;&quot;,
                        &quot;comment&quot;: null,
                        &quot;addTime&quot;: null,
                        &quot;updateTime&quot;: null,
                        &quot;brief&quot;: null,
                        &quot;gallery&quot;: null,
                        &quot;videos&quot;: null,
                        &quot;tags&quot;: null,
                        &quot;aftersaleId&quot;: null,
                        &quot;handleOption&quot;: null
                    }
                ],
                &quot;storeInfo&quot;: {
                    &quot;id&quot;: 1,
                    &quot;name&quot;: &quot;大头娃&quot;,
                    &quot;intro&quot;: null,
                    &quot;images&quot;: null
                },
                &quot;groupin&quot;: false
            }       
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 0
    }
}

</code></pre>

<h4 id="126_1">1.2.6 订单详情</h4>
<h5 id="_190">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_191">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/detail</td>
</tr>
</tbody>
</table>
<h5 id="_192">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_193">错误说明</h5>
<h5 id="_194">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
       &quot;storeInfo&quot;: {
                    &quot;id&quot;: 1,
                    &quot;name&quot;: &quot;大头娃&quot;,
                    &quot;intro&quot;: null,
                    &quot;images&quot;: null
                },
        &quot;orderInfo&quot;: {  //订单信息
            &quot;id&quot;: 47, //订单ID
            &quot;orderSn&quot;: &quot;20200711391009&quot;, //订单sN
            &quot;message&quot;: &quot;&quot;, //留言
            &quot;addTime&quot;: &quot;2020-07-11 18:48:01&quot;, //添加时间
            &quot;payTime&quot;: &quot;2020-07-11 18:48:01&quot;, //支付时间
            &quot;consignee&quot;: &quot;string&quot;, //收货人
            &quot;mobile&quot;: &quot;15201008961&quot;, //手机号
            &quot;address&quot;: &quot;stringstringstring string&quot;,  //收货地址
            &quot;goodsPrice&quot;: 78.00,  //产品价格
            &quot;couponPrice&quot;: 0.00, //优惠券价格
            &quot;freightPrice&quot;: 8.00, //运费
            &quot;actualPrice&quot;: 86.00, //实际支付
            &quot;orderStatusText&quot;: &quot;未付款&quot;,  //付款状态描述
            &quot;handleOption&quot;: {  //处理状态
                &quot;cancel&quot;: true,  //是否可取消
                &quot;delete&quot;: false, //是否可删除
                &quot;pay&quot;: true,  //是否可支付
                &quot;comment&quot;: false, //是否可评论
                &quot;confirm&quot;: false,  //是否可确认收货
                &quot;refund&quot;: false, //是否可退货
                &quot;rebuy&quot;: false, //是否可重新购买
                &quot;aftersale&quot;: false, //是否可售后
                &quot;remind&quot;: false, //是否可催单
                &quot;logistic&quot;: true //是否可查看物流
            },
            &quot;aftersaleStatus&quot;: 0,  //售后状态，0是可申请，1是用户已申请，2是管理员审核通过，3是管理员退款成功，4是管理员审核拒绝，5是用户已取消
            &quot;expCode&quot;: null, //物流公司编码
            &quot;expName&quot;: null, //物流名称
            &quot;expNo&quot;: null //物流单号
        },
        &quot;orderGoods&quot;: [  //订单产品信息
            {
                &quot;id&quot;: 47,  //产品ID
                &quot;orderId&quot;: 47, //订单ID
                &quot;goodsId&quot;: 1006014, //商品ID
                &quot;goodsName&quot;: &quot;双宫茧桑蚕丝被 子母被&quot;, //名称
                &quot;goodsSn&quot;: &quot;1006014&quot;, //SN
                &quot;productId&quot;: 11, //货品ID
                &quot;number&quot;: 1, //数量
                &quot;price&quot;: 1399.00, //价格
                &quot;specifications&quot;: [  //规格
                    &quot;标准&quot;
                ],
                &quot;handleOption&quot;: {  //操作按钮
                    &quot;apply&quot;: false, //申请售后
                    &quot;hotline&quot;: false, //客服热线
                    &quot;cancel&quot;: false //取消售后
                },
                &quot;aftersaleId&quot;:123,//售后ID
                &quot;picUrl&quot;: &quot;http://yanxuan.nosdn.127.net/2b537159f0f789034bf8c4b339c43750.png&quot;,  //图片
                &quot;comment&quot;: 0,  //评论数
                &quot;addTime&quot;: &quot;2020-07-11 11:39:02&quot;, //添加时间
                &quot;updateTime&quot;: &quot;2020-07-11 11:39:02&quot;, //更新时间
                &quot;deleted&quot;: false //是否已删除
            }
        ],
        &quot;expressInfo&quot;: {
            &quot;message&quot;: &quot;ok&quot;,
            &quot;nu&quot;: &quot;SF1196520227006&quot;,
            &quot;ischeck&quot;: &quot;0&quot;,
            &quot;condition&quot;: &quot;00&quot;,
            &quot;com&quot;: &quot;shunfeng&quot;,
            &quot;status&quot;: &quot;200&quot;,
            &quot;state&quot;: &quot;0&quot;,
            &quot;data&quot;: [
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京南法信中转场】已装车,准备发往 【北京海淀亿世界营业点】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京顺义集散中心】已装车,准备发往 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京朝阳新荟城营业点】已装车,准备发往 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;context&quot;: &quot;[北京市]顺丰速运 已收取快件&quot;
                }
            ]
        }
    }
}

</code></pre>

<h4 id="127">1.2.7 取消订单</h4>
<h5 id="_195">接口说明</h5>
<p>取消订单</p>
<h5 id="_196">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/cancel</td>
</tr>
</tbody>
</table>
<h5 id="_197">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_198">错误说明</h5>
<h5 id="_199">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="128">1.2.8  重新支付订单</h4>
<h5 id="_200">接口说明</h5>
<p>重新支付订单</p>
<h5 id="_201">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/prepay</td>
</tr>
</tbody>
</table>
<h5 id="_202">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">payType</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">支付方式</td>
<td align="left">根据结算页拉取的支付项填写，小程序可以固定写死 WX_MP</td>
</tr>
</tbody>
</table>
<h5 id="_203">错误说明</h5>
<h5 id="_204">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
            &quot;payOrderId&quot;:xxxx,//订单号
            &quot;callPayInfo&quot;:xxxxx, //各平台对应支付信息 
       }
    }



</code></pre>

<h4 id="129">1.2.9  确认收货接口</h4>
<h5 id="_205">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_206">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/confirm</td>
</tr>
</tbody>
</table>
<h5 id="_207">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_208">错误说明</h5>
<h5 id="_209">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
            
       }
    }



</code></pre>

<h4 id="1210">1.2.10  删除订单接口</h4>
<h5 id="_210">接口说明</h5>
<p>删除订单接口</p>
<h5 id="_211">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/delete</td>
</tr>
</tbody>
</table>
<h5 id="_212">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_213">错误说明</h5>
<h5 id="_214">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
            
       }
    }



</code></pre>

<h4 id="1211">1.2.11  评价接口</h4>
<h5 id="_215">接口说明</h5>
<p>订单列表信息</p>
<h5 id="_216">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/comment</td>
</tr>
</tbody>
</table>
<h5 id="post-json_2">输入参数(post json)</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderGoodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单商品ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">content</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">商品内容信息</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">star</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">评价星级</td>
<td align="left">1-5</td>
</tr>
<tr>
<td align="left">picUrls</td>
<td align="center">是</td>
<td align="left">string[]</td>
<td align="left">图片信息</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<pre><code class="json">    {
      &quot;anonymous&quot;: true,  //是否匿名
      &quot;content&quot;: &quot;string&quot;, //内容
      &quot;picUrls&quot;: [ //图片数组
        {
            &quot;url&quot;:&quot;http://www.baidu.com&quot;, //url
            &quot;type&quot;:&quot;jpg/jpeg&quot; //内容类型(可能是视频)
        }
      ],
      &quot;star&quot;: 0, //星级
      &quot;type&quot;: 0,  //如果是0，则查询商品评论；如果是1，则查询专题
      &quot;valueId&quot;: 0  //商品或专题ID。如果type是0，则是商品ID；如果type是1，则是专题ID
    }
</code></pre>

<h5 id="_217">错误说明</h5>
<h5 id="_218">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="1212">1.2.12  待评价订单商品信息</h4>
<h5 id="_219">接口说明</h5>
<p>待评价订单商品信息</p>
<h5 id="_220">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/order/goods</td>
</tr>
</tbody>
</table>
<h5 id="_221">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_222">错误说明</h5>
<h5 id="_223">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: 47,
        &quot;orderId&quot;: 47,
        &quot;goodsId&quot;: 1006014, //产品ID
        &quot;goodsName&quot;: &quot;双宫茧桑蚕丝被 子母被&quot;, // 产品名称
        &quot;goodsSn&quot;: &quot;1006014&quot;, //产品SN
        &quot;productId&quot;: 11, //商品ID
        &quot;number&quot;: 1, // 计数
        &quot;price&quot;: 1399.00, //商品价格
        &quot;specifications&quot;: [  //规格
            &quot;标准&quot;
        ],
        &quot;picUrl&quot;: &quot;http://yanxuan.nosdn.127.net/2b537159f0f789034bf8c4b339c43750.png&quot;,  //图片
        &quot;comment&quot;: 0, //订单商品评论，如果是-1，则超期不能评价；如果是0，则可以评价；如果其他值，则是comment表里面的评论ID。
        &quot;addTime&quot;: &quot;2020-07-11 11:39:02&quot;,  //添加时间
        &quot;updateTime&quot;: &quot;2020-07-11 11:39:02&quot;, //更新时间
        &quot;deleted&quot;: false
    }
}

</code></pre>

<h4 id="1213">1.2.13 催单接口</h4>
<h5 id="_224">接口说明</h5>
<p>催单</p>
<h5 id="_225">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/order/remind</td>
</tr>
</tbody>
</table>
<h5 id="_226">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单详细信息</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_227">错误说明</h5>
<h5 id="_228">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

       }
    }

</code></pre>

<h4 id="1214">1.2.14 重新购买</h4>
<h5 id="_229">接口说明</h5>
<p>重新购买</p>
<h5 id="_230">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/rebuy</td>
</tr>
</tbody>
</table>
<h5 id="_231">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单详细信息</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_232">错误说明</h5>
<h5 id="_233">返回实例</h5>
<pre><code class="json">
   {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;addressId&quot;: 3,   //地址ID
        &quot;couponId&quot;: 2, //优惠券ID
        &quot;userCouponId&quot;: 5, //用户优惠券ID
        &quot;cartId&quot;: 0, // 购物车ID
        &quot;grouponRulesId&quot;: 0, //团购规则
        &quot;grouponPrice&quot;: 0, //团购价
        &quot;checkedAddress&quot;: {   //地址的选择
            &quot;id&quot;: 3,  //地址ID
            &quot;name&quot;: &quot;我&quot;, //地址名称
            &quot;userId&quot;: 11445, //用户ID
            &quot;province&quot;: &quot;北京市&quot;, //省
            &quot;city&quot;: &quot;市辖区&quot;, //市
            &quot;county&quot;: &quot;朝阳区&quot;, //朝阳
            &quot;addressDetail&quot;: &quot;211&quot;, //地址详情
            &quot;areaCode&quot;: &quot;110105&quot;, //地址编码
            &quot;postalCode&quot;: null, //邮政编码
            &quot;tel&quot;: &quot;15201008961&quot;, //手机号
            &quot;isDefault&quot;: true, //是否默认
            &quot;addTime&quot;: &quot;2020-06-29 14:46:15&quot;, //创建时间
            &quot;updateTime&quot;: &quot;2020-06-29 14:46:15&quot;, //更新时间
            &quot;deleted&quot;: false //是否已删除
        },
        &quot;availableCouponLength&quot;: 2, //可用优惠券数量
        &quot;goodsTotalPrice&quot;: 237.00, //产品总价格
        &quot;freightPrice&quot;: 0,  //运费
        &quot;couponPrice&quot;: 10.00, //优惠金额
        &quot;orderTotalPrice&quot;: 227.00, //订单总金额
        &quot;actualPrice&quot;: 227.00, //实付金额 
        &quot;checkedGoodsList&quot;: [  //结算商品列表
            {
                &quot;id&quot;: 10,  //ID
                &quot;userId&quot;: 11445, //用户ID
                &quot;goodsId&quot;: 1057036, //产品ID
                &quot;goodsSn&quot;: &quot;1057036&quot;, //产品SN
                &quot;goodsName&quot;: &quot;日式纯色水洗亚麻抱枕&quot;, //产品名称
                &quot;productId&quot;: 71, //商品ID
                &quot;price&quot;: 79.00, //商品价格
                &quot;number&quot;: 3, //商品数量
                &quot;specifications&quot;: [  //规格
                    &quot;标准&quot;
                ],
                &quot;checked&quot;: true, //是否选中
                &quot;picUrl&quot;: &quot;http://yanxuan.nosdn.127.net/8a9ee5ba08929cc9e40b973607d2f633.png&quot;, //缩略图
                &quot;addTime&quot;: &quot;2020-07-03 23:11:14&quot;, //添加时间
                &quot;updateTime&quot;: &quot;2020-07-03 23:35:09&quot;, //更新时间
                &quot;deleted&quot;: false //是否已删除
            }
        ],
    &quot;payTypes&quot;: [  //支付方式列表
            {
                &quot;typeName&quot;: &quot;balance&quot;,
                &quot;comment&quot;: &quot;余额支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;ALIPAYCASH&quot;,
                &quot;comment&quot;: &quot;支付宝支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;WX_APP&quot;,
                &quot;comment&quot;: &quot;微信支付&quot;,
                &quot;thumbnail&quot;: null
            }
        ]   
    }
}


</code></pre>

<h4 id="1215">1.2.15 订单重新支付</h4>
<h5 id="_234">接口说明</h5>
<p>订单重新支付 </p>
<h5 id="_235">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/repay</td>
</tr>
</tbody>
</table>
<h5 id="_236">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">orderId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_237">错误说明</h5>
<h5 id="_238">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;actualPrice&quot;:1.23, //实付金额
        &quot;payTypes&quot;:[  //支付方式列表
            {
                &quot;typeName&quot;: &quot;balance&quot;,
                &quot;comment&quot;: &quot;余额支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;ALIPAYCASH&quot;,
                &quot;comment&quot;: &quot;支付宝支付&quot;,
                &quot;thumbnail&quot;: null
            },
            {
                &quot;typeName&quot;: &quot;WX_APP&quot;,
                &quot;comment&quot;: &quot;微信支付&quot;,
                &quot;thumbnail&quot;: null
            }
        ] 
    }
}

</code></pre>

<h4 id="1216">1.2.16 物流详情</h4>
<h5 id="_239">接口说明</h5>
<p>订单详细信息</p>
<h5 id="_240">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/express/detail</td>
</tr>
</tbody>
</table>
<h5 id="_241">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">订单ID/或售后ID</td>
<td align="left">根据type变化</td>
</tr>
<tr>
<td align="left">type</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">类型</td>
<td align="left">默认 0, 0 订单 1 物流</td>
</tr>
</tbody>
</table>
<h5 id="_242">错误说明</h5>
<h5 id="_243">返回实例</h5>
<pre><code class="json">
{
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;shipSn&quot;:&quot;1233&quot;, //物流sn
        &quot;shipChannel&quot;:&quot;物流公司&quot;, //物流sn
        &quot;address&quot;:&quot;详细地址&quot;, //详细地址
        &quot;consignee&quot;:&quot;收货人&quot;, //收货人
        &quot;mobile&quot;:&quot;15201008061&quot;, //手机号,
        &quot;expressInfo&quot;: {
            &quot;message&quot;: &quot;ok&quot;,
            &quot;nu&quot;: &quot;SF1196520227006&quot;,
            &quot;ischeck&quot;: &quot;0&quot;,
            &quot;condition&quot;: &quot;00&quot;,
            &quot;com&quot;: &quot;shunfeng&quot;,
            &quot;status&quot;: &quot;200&quot;,
            &quot;state&quot;: &quot;0&quot;,
            &quot;data&quot;: [
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:36&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:36:32&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京南法信中转场】已装车,准备发往 【北京海淀亿世界营业点】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 14:05:25&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:57:30&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:52:50&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京顺义集散中心】已装车,准备发往 【北京南法信中转场】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 13:02:45&quot;,
                    &quot;context&quot;: &quot;[北京市]快件到达 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:10&quot;,
                    &quot;context&quot;: &quot;[北京市]快件已发车&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 12:24:02&quot;,
                    &quot;context&quot;: &quot;[北京市]快件在【北京朝阳新荟城营业点】已装车,准备发往 【北京顺义集散中心】&quot;
                },
                {
                    &quot;time&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;ftime&quot;: &quot;2020-11-25 11:08:19&quot;,
                    &quot;context&quot;: &quot;[北京市]顺丰速运 已收取快件&quot;
                }
            ]
        }
    }
}

</code></pre>

<h4 id="1217">1.2.17 订单计数</h4>
<h5 id="_244">接口说明</h5>
<p>订单计数</p>
<h5 id="_245">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/order/summary</td>
</tr>
</tbody>
</table>
<h5 id="_246">输入参数</h5>
<p>无</p>
<h5 id="_247">错误说明</h5>
<h5 id="_248">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;waitPayCount&quot;: 0, //待支付
        &quot;waitShipCount&quot;: 32, //待发货
        &quot;waitConfirmCount&quot;: 0, //待确认收货
        &quot;waitAftersaleCount&quot;: 1 //售后
    }
}

</code></pre>

<h4 id="13_1">1.3 售后</h4>
<h4 id="131_1">1.3.1 售后列表</h4>
<h5 id="_249">接口说明</h5>
<p>获取售后列表信息</p>
<h5 id="_250">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/aftersale/list</td>
</tr>
</tbody>
</table>
<h5 id="_251">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">status</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">状态</td>
<td align="left">0是可申请，1处理中 2 历史记录</td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_252">错误说明</h5>
<h5 id="_253">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;goodsList&quot;: [
                    {
                        &quot;id&quot;: 63,
                        &quot;orderId&quot;: 68,
                        &quot;goodsId&quot;: 10000000,
                        &quot;goodsName&quot;: &quot;测试&quot;,
                        &quot;goodsSn&quot;: &quot;&quot;,
                        &quot;productId&quot;: 13,
                        &quot;number&quot;: 1,
                        &quot;price&quot;: 3.00,
                        &quot;specifications&quot;: [
                            {
                                &quot;id&quot;: 1,
                                &quot;value&quot;: &quot;33&quot;
                            }
                        ],
                        &quot;picUrl&quot;: &quot;&quot;,
                        &quot;comment&quot;: 0,
                        &quot;addTime&quot;: &quot;2020-11-25 12:30:36&quot;,
                        &quot;updateTime&quot;: &quot;2020-11-25 12:38:24&quot;,
                        &quot;brief&quot;: null,
                        &quot;gallery&quot;: null,
                        &quot;videos&quot;: null,
                        &quot;tags&quot;: null,
                        &quot;aftersaleId&quot;: null,
                        &quot;handleOption&quot;: null
                    }
                ],
                &quot;id&quot;: 1,
                &quot;orderId&quot;: 68,
                &quot;amount&quot;: 3.00,
                &quot;type&quot;: null,
                &quot;aftersaleStatus&quot;: 1,
                &quot;aftersaleStatusText&quot;: &quot;已申请&quot;,
                &quot;storeInfo&quot;: {
                    &quot;id&quot;: 1,
                    &quot;name&quot;: &quot;大头娃&quot;,
                    &quot;intro&quot;: null,
                    &quot;images&quot;: null
                },
                &quot;handleOption&quot;: {
                    &quot;apply&quot;: false,
                    &quot;hotline&quot;: true,
                    &quot;cancel&quot;: true
                },
                &quot;limitProcessSeconds&quot;: 0
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}

</code></pre>

<h4 id="132_1">1.3.2 申请售后</h4>
<h5 id="_254">接口说明</h5>
<p>申请售后</p>
<h5 id="_255">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/aftersale/submit</td>
</tr>
</tbody>
</table>
<h5 id="_256">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">goodsId</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">状态</td>
<td align="left">订单商品ID</td>
</tr>
<tr>
<td align="left">type</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">类型</td>
<td align="left">2用户退货退款  3:换货</td>
</tr>
<tr>
<td align="left">reason</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">原因</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">amount</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">退款金额</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">pictures</td>
<td align="center">否</td>
<td align="left">string[]</td>
<td align="left">图片</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">comment</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">描述</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_257">错误说明</h5>
<h5 id="_258">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;:1  //订单ID
    }
}   
</code></pre>

<h4 id="133_1">1.3.3 取消售后</h4>
<h5 id="_259">接口说明</h5>
<p>取消售后</p>
<h5 id="_260">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/aftersale/cancel</td>
</tr>
</tbody>
</table>
<h5 id="_261">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">状态</td>
<td align="left">售后ID</td>
</tr>
</tbody>
</table>
<h5 id="_262">错误说明</h5>
<h5 id="_263">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}   
</code></pre>

<h4 id="134_1">1.3.4 售后发货</h4>
<h5 id="_264">接口说明</h5>
<p>取消售后</p>
<h5 id="_265">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/aftersale/ship</td>
</tr>
</tbody>
</table>
<h5 id="_266">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">状态</td>
<td align="left">售后ID</td>
</tr>
<tr>
<td align="left">shipSn</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">shipChannel</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流公司</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_267">错误说明</h5>
<h5 id="_268">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}   
</code></pre>

<h4 id="135_1">1.3.5 售后详情</h4>
<h5 id="_269">接口说明</h5>
<p>受理售后</p>
<h5 id="_270">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/mall/aftersale/detail</td>
</tr>
</tbody>
</table>
<h5 id="_271">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">售后ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_272">错误说明</h5>
<h5 id="_273">返回实例</h5>
<pre><code class="json">
  {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;aftersale&quot;: {
            &quot;id&quot;: 1,
            &quot;aftersaleSn&quot;: &quot;20201125332940&quot;,
            &quot;storeId&quot;: 1,
            &quot;orderId&quot;: 68,
            &quot;orderGoodsId&quot;: 63,
            &quot;userId&quot;: 11632,
            &quot;type&quot;: 0,
            &quot;reason&quot;: &quot;测试一下&quot;,
            &quot;amount&quot;: 3.00,
            &quot;pictures&quot;: [],
            &quot;comment&quot;: &quot;&quot;,
            &quot;status&quot;: 1,
            &quot;handleTime&quot;: null,
            &quot;addTime&quot;: &quot;2020-11-25 12:38:23&quot;,
            &quot;updateTime&quot;: &quot;2020-11-25 12:38:23&quot;,
            &quot;deleted&quot;: false,
            &quot;shipSn&quot;: null,
            &quot;shipChannel&quot;: null,
            &quot;refuseReason&quot;:&quot;拒绝理由&quot;
        },
        &quot;goodsList&quot;: [
            {
                &quot;id&quot;: 63,
                &quot;storeId&quot;: 1,
                &quot;orderId&quot;: 68,
                &quot;goodsId&quot;: 10000000,
                &quot;goodsName&quot;: &quot;测试&quot;,
                &quot;goodsSn&quot;: &quot;&quot;,
                &quot;productId&quot;: 13,
                &quot;number&quot;: 1,
                &quot;price&quot;: 3.00,
                &quot;specifications&quot;: [
                    {
                        &quot;id&quot;: 1,
                        &quot;value&quot;: &quot;33&quot;
                    }
                ],
                &quot;picUrl&quot;: &quot;&quot;,
                &quot;comment&quot;: 0,
                &quot;addTime&quot;: &quot;2020-11-25 12:30:36&quot;,
                &quot;updateTime&quot;: &quot;2020-11-25 12:38:24&quot;,
                &quot;deleted&quot;: false,
                &quot;aftersaleStatus&quot;: 1,
                &quot;refundAmount&quot;: null,
                &quot;refundType&quot;: null,
                &quot;refundContent&quot;: null,
                &quot;refundTime&quot;: null
            }
        ],
        &quot;order&quot;: {
            &quot;id&quot;: 68,
            &quot;storeId&quot;: 1,
            &quot;userId&quot;: 11632,
            &quot;orderSn&quot;: &quot;20201125274465&quot;,
            &quot;orderStatus&quot;: 201,
            &quot;aftersaleStatus&quot;: 0,
            &quot;consignee&quot;: &quot;测试&quot;,
            &quot;mobile&quot;: &quot;15201008961&quot;,
            &quot;address&quot;: &quot;北京市北京市辖区朝阳区 北京&quot;,
            &quot;message&quot;: &quot;备注&quot;,
            &quot;goodsPrice&quot;: 3.00,
            &quot;freightPrice&quot;: 0.00,
            &quot;couponPrice&quot;: 0.00,
            &quot;integralPrice&quot;: 0.00,
            &quot;grouponPrice&quot;: 0.00,
            &quot;orderPrice&quot;: 3.00,
            &quot;actualPrice&quot;: 3.00,
            &quot;payId&quot;: &quot;KIN201125203025493969FB7F661001&quot;,
            &quot;payTime&quot;: &quot;2020-11-25 12:30:49&quot;,
            &quot;shipSn&quot;: null,
            &quot;shipChannel&quot;: null,
            &quot;shipTime&quot;: null,
            &quot;refundAmount&quot;: 0.00,
            &quot;refundType&quot;: null,
            &quot;refundContent&quot;: null,
            &quot;refundTime&quot;: null,
            &quot;confirmTime&quot;: null,
            &quot;comments&quot;: 0,
            &quot;endTime&quot;: null,
            &quot;addTime&quot;: &quot;2020-11-25 04:30:36&quot;,
            &quot;updateTime&quot;: 1606307904118,
            &quot;deleted&quot;: false,
            &quot;payType&quot;: &quot;WX_APP&quot;
        },
        &quot;expressInfo&quot;: null
    }
}

</code></pre></div>
            </div>
        </div>

        <footer class="col-md-12">
            <hr>
            <p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
        </footer>
        <script>
            var base_url = "../..",
                shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
        </script>
        <script src="../../js/base.js" defer></script>
        <script src="../../search/main.js" defer></script>

        <div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="searchModalLabel">Search</h4>
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            </div>
            <div class="modal-body">
                <p>
                    From here you can search these documents. Enter
                    your search terms below.
                </p>
                <form>
                    <div class="form-group">
                        <input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
                    </div>
                </form>
                <div id="mkdocs-search-results"></div>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            </div>
            <div class="modal-body">
              <table class="table">
                <thead>
                  <tr>
                    <th style="width: 20%;">Keys</th>
                    <th>Action</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td class="help shortcut"><kbd>?</kbd></td>
                    <td>Open this help</td>
                  </tr>
                  <tr>
                    <td class="next shortcut"><kbd>n</kbd></td>
                    <td>Next page</td>
                  </tr>
                  <tr>
                    <td class="prev shortcut"><kbd>p</kbd></td>
                    <td>Previous page</td>
                  </tr>
                  <tr>
                    <td class="search shortcut"><kbd>s</kbd></td>
                    <td>Search</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>

    </body>
</html>
